From 7ad96e833b5bb95ed44d947057ee7bd7307d7d1d Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Thu, 18 Jun 2020 15:31:01 +0800 Subject: [PATCH] chore: fix flow config --- web3.js/.flowconfig | 3 --- web3.js/test/cluster.test.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/web3.js/.flowconfig b/web3.js/.flowconfig index 2785fb1653..93de716b1f 100644 --- a/web3.js/.flowconfig +++ b/web3.js/.flowconfig @@ -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 diff --git a/web3.js/test/cluster.test.js b/web3.js/test/cluster.test.js index a705335ed9..14b9d1d925 100644 --- a/web3.js/test/cluster.test.js +++ b/web3.js/test/cluster.test.js @@ -3,7 +3,7 @@ import {clusterApiUrl} from '../src/util/cluster'; test('invalid', () => { expect(() => { - // $FlowIgnore + // $FlowExpectedError clusterApiUrl('abc123'); }).toThrow(); });