1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Brad Decker
5a233e4634
colocate tests in flat structure () 2021-03-16 16:00:08 -05:00
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ()
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
2021-02-04 10:15:23 -08:00
Erik Marks
1da9ad77a4
json-rpc-engine@6.1.0 () 2020-12-02 11:41:24 -08:00
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint () 2020-11-02 17:41:28 -06:00
Mark Stacey
3bbc1d1fa4
Fix fetching of swap quotes when initial network was testnet ()
If the initial network when the extension is started is something other
than Mainnet, the swaps controller will never successfully retrieve
swap quotes. This is because the `ethers` provider used by the swaps
controller doesn't allow network changes by default - it assumes that
the network remains the same as when the provider was initialized.

This was fixed by hard-coding Mainnet as the initial chain ID for this
`ethers` provider used by the swaps controller.

Some adjustments needed to be made to the `provider` stub to allow
setting `1` as the network ID and chain ID in unit tests.
2020-10-27 13:22:21 -02:30
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ()
* Update eslint-plugin-import version

* Convert JS files to use ESM

* Update ESLint rules to check imports

* Fix test:unit:global command env

* Cleanup mock-dev script
2020-01-09 00:04:58 -03:30
tmashuang
58b9afff4f Merge branch 'develop' into testing 2018-05-21 14:57:57 -07:00
Thomas
8250fd9d6d Merge branch 'develop' into testing 2018-05-07 14:30:43 -07:00
kumavis
b487dab2e7 test - unit - use ganache instead of deprecated block-tracker test util 2018-04-27 17:11:44 -07:00
Thomas
25eb917c60 Update blacklist 2018-03-27 13:59:37 -07:00
Thomas
b2f53fa354 Revert initializing first-time-state 2018-02-27 15:50:49 -08:00
Thomas Huang
33182efb13 Offline testing 2018-02-15 08:34:31 -08:00
kumavis
899e839e7c test - createTestProviderTools includes block tracker layer 2018-01-17 21:43:34 -08:00
kumavis
d1d745eef4 test - typo - fix spelling of word stubbed 2018-01-17 19:47:35 -08:00
kumavis
3cbf2b7e3e test - remove createEthJsQueryStub 2018-01-17 19:44:11 -08:00
frankiebee
409b49b411 test - create ethJsQuery stub 2018-01-14 14:00:59 -08:00
frankiebee
be4011c310 create a provider stub 2017-08-08 18:30:03 -04:00