-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Our test helper modules have been covered by ESLint as though they were production code. This resulted in misleading coverage statistics and various erronous lint errors (which we've handled by disabling rules in affected files). The ESLint configuration has been updated to consider any modules under a `tests` directory to be test helpers. This helps reduce the scope of #1116
- Loading branch information
Showing
6 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/network-controller/tests/provider-api-tests/block-hash-in-response.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-disable no-loop-func */ | ||
import { | ||
ProviderType, | ||
waitForNextBlockTracker, | ||
|
1 change: 0 additions & 1 deletion
1
packages/network-controller/tests/provider-api-tests/block-param.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-disable no-loop-func */ | ||
import { | ||
buildMockParams, | ||
buildRequestWithReplacedBlockParam, | ||
|
2 changes: 0 additions & 2 deletions
2
packages/network-controller/tests/provider-api-tests/no-block-param.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/* eslint-disable no-loop-func */ | ||
|
||
import { | ||
MockCommunications, | ||
ProviderType, | ||
|
2 changes: 0 additions & 2 deletions
2
packages/network-controller/tests/provider-api-tests/shared-tests.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters