-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ede6f88
commit f256086
Showing
9 changed files
with
27 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import * as jestExtended from 'jest-extended'; | ||
|
||
// add all jest-extended matchers | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
expect.extend(require('jest-extended')); | ||
expect.extend(jestExtended); |
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,3 +1,4 @@ | ||
import * as jestExtended from 'jest-extended'; | ||
|
||
// add all jest-extended matchers | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
expect.extend(require('jest-extended')); | ||
expect.extend(jestExtended); |
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,3 +1,11 @@ | ||
import { rmSync } from 'fs'; | ||
import * as jestExtended from 'jest-extended'; | ||
|
||
// add all jest-extended matchers | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
expect.extend(require('jest-extended')); | ||
expect.extend(jestExtended); | ||
|
||
// clear all deployments before & after every test | ||
const clearDeployments = () => rmSync('./deployments', { force: true, recursive: true }); | ||
|
||
beforeEach(clearDeployments); | ||
afterEach(clearDeployments); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
import { rmSync } from 'fs'; | ||
import * as jestExtended from 'jest-extended'; | ||
|
||
// add all jest-extended matchers | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
expect.extend(require('jest-extended')); | ||
expect.extend(jestExtended); | ||
|
||
// clear all deployments before & after every test | ||
const clearDeployments = () => rmSync('./deployments', { force: true, recursive: true }); | ||
|
||
beforeEach(clearDeployments); | ||
afterEach(clearDeployments); |
19 changes: 0 additions & 19 deletions
19
tests/ua-devtools-evm-hardhat-test/test/__utils__/common.ts
This file was deleted.
Oops, something went wrong.
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