-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests, begin implementing CurrencyDirectory and CurrencyDefinitio…
…nStorage for a dynamic coin list
- Loading branch information
1 parent
877a500
commit acd3889
Showing
24 changed files
with
686 additions
and
169 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const mockedModule = jest.mock('ethers'); | ||
mockedModule.getDefaultProvider = jest.fn() | ||
mockedModule.providers = { | ||
EtherscanProvider: jest.fn() | ||
} | ||
// const mockedModule = jest.mock('ethers'); | ||
// mockedModule.getDefaultProvider = jest.fn() | ||
// mockedModule.providers = { | ||
// EtherscanProvider: jest.fn() | ||
// } | ||
|
||
module.exports = mockedModule; | ||
// module.exports = mockedModule; |
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 |
---|---|---|
|
@@ -20,7 +20,8 @@ function mockRedux() { | |
store.dispatch(action) | ||
} | ||
} | ||
} | ||
}, | ||
compose: () => {} | ||
} | ||
} | ||
|
||
|
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
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
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
Oops, something went wrong.