chore: fix flow config
This commit is contained in:
parent
df7e40f0bd
commit
7ad96e833b
|
@ -14,6 +14,3 @@ module.system.node.resolve_dirname=./src
|
|||
module.use_strict=true
|
||||
experimental.const_params=true
|
||||
include_warnings=true
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
|
||||
|
|
|
@ -3,7 +3,7 @@ import {clusterApiUrl} from '../src/util/cluster';
|
|||
|
||||
test('invalid', () => {
|
||||
expect(() => {
|
||||
// $FlowIgnore
|
||||
// $FlowExpectedError
|
||||
clusterApiUrl('abc123');
|
||||
}).toThrow();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue