Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* 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
ricky
1c4f2aab8f
React 16 upgrade ( #7476 )
...
* Use arrow property initializer functions
* Use pure components where applicable
* Add UNSAFE_ prefix for deprecated lifecycle hooks
* Add allow UNSAFE_
* Removed unused "Component"
* Replace boron with 'fade-modal'
* Upgrade react/no-deprecated to an error
* Paste react-tooltip-component source directly
* Use arrow functions to bind `this`
* Add UNSAFE_ prefix
* Update react-redux, react-router-dom
* Remove things from inlined 'fade-modal'
* Adjust mountWithRouter to get unit tests passing again
* Remove domkit
* Add Wrapper to render-helpers
* Upgrade @storybook/addon-knobs
2019-12-06 11:40:06 -04:00
Whymarrh Whitby
274a9ecf53
yarn lint --fix
2019-12-03 17:20:55 -03:30
Whymarrh Whitby
e61745a821
Enable no-var rule for ESLint ( #7590 )
...
* eslint: Enable no-var rule
* yarn lint --fix
2019-12-03 11:22:01 -03:30
Whymarrh Whitby
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
2019-11-19 20:33:20 -03:30
Whymarrh Whitby
094e4cf555
Check for unused function arguments ( #6583 )
...
* eslint: Check for unused function arguments
* eslint: Ignore unused '_' in argument list
Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly
* Remove and rename unused arguments
2019-05-08 15:51:33 -04:00
Frankie
ce147bf6d8
Tx controller now uses safe event emitter ( #5769 )
...
* transactions - use safe-event-emitter over events
* tests - pass a platform object on init with a noop showTransactionNotification
* test - fix for tx-state-history-helper trying to reduce an empty array
* deps - safe-event-emitter
* lint
2018-11-16 10:34:08 -08:00
Noel Yoo
ebdefe81a1
Refactor buffer constructor ( #5468 )
2018-10-09 09:32:48 -02:30
tmashuang
a0a57c24fd
Some Ui tests
2018-09-24 11:28:04 -05:00
Whymarrh Whitby
d60991ec88
Delete ConfigManager, replacing its usages with PreferencesController
2018-09-11 09:39:16 -07:00
Thomas
138858647e
Merge branch 'develop' into network-remove-provider-engine
2018-07-25 22:38:44 -07:00
Bobby Dresser
eb2b36b3cb
fix tos link;
2018-07-12 16:24:13 -04:00
kumavis
77daed5c74
Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-remove-provider-engine
2018-07-03 12:42:14 -07:00
brunobar79
a8f745f9fe
eslint --fix .
2018-07-02 18:49:33 -04:00
kumavis
da5be0812a
test - unit - metamask-controller - fix many bugs in tests
2018-05-24 23:19:39 -07:00
Dan
62a95139e6
Use customized react-trigger-change in send-new-ui integration tests..
2018-03-19 12:57:58 -02:30
kumavis
0419276958
test - poll for element instead of manual timeouts
2018-03-11 14:52:29 -07:00
Dan
d8896a8c31
Merge branch 'master' into uat
2018-02-07 16:32:47 -03:30
Frankie
1a93b1ade2
Merge pull request #3146 from MetaMask/i3082-AddTokenValidateInputs
...
Set address to default with empty string, add test validation.
2018-01-31 14:18:47 -08:00
frankiebee
e0caeae06d
test for migration 021
2018-01-30 15:03:42 -08:00
Thomas
c2cef0f815
Set address to default with empty string, add test validation.
2018-01-30 13:26:37 -08:00
Thomas Huang
cefe6cded6
Update to Enzyme 3.2.0
2017-11-25 18:37:12 -06:00
Dan
b7653e8207
Get current NewUI-flat tests working.
2017-11-02 15:16:43 -07:00
Dan Finlay
feed9a5a17
Add mock random value generator
2017-09-25 14:45:28 -07:00
tmashuang
36a44ef61f
Update mock-store dependency
2017-09-06 11:04:17 -07:00
Dan Finlay
c76194d7c3
Move mock txs to tx mocking class
2017-08-21 11:35:51 -07:00
Thomas Huang
13e6672028
Linting
2017-06-12 11:08:32 -07:00
Dan Finlay
d165f3a2b6
Merge pull request #1436 from MetaMask/mig13
...
migration 13 - change provider from testnet to ropsten
2017-05-16 09:09:28 -07:00
kumavis
01b6d9c374
test - format test data 001
2017-05-15 23:54:05 -07:00
Dan Finlay
4b341e6a95
Got test failing nearly correctly
2017-05-15 15:07:38 -07:00
Thomas Huang
9bd7d06c4f
Remove unused modules and STORAGE_KEY
2017-05-04 15:06:27 -07:00
Thomas Huang
0b13429daf
Lint tests
2017-05-04 14:35:10 -07:00
Kevin Serrano
d99b5a9e5a
Add migration tests to ensure that bodies are erased properly in notices.
2017-03-23 10:15:42 -04:00
Kevin Serrano
6ddd613a15
Adding additional migration state to account for moving data.
2017-02-15 11:15:33 -08:00
kumavis
76ce348a04
obs-store - use published module
2017-01-24 19:47:00 -08:00
kumavis
3bc996878b
background - move pojo migrator to outside of metamask controller
2017-01-11 22:47:56 -08:00
kumavis
2019c02fc0
test - fix tests from obs-store
2017-01-11 19:31:42 -08:00
Frances Pangilinan
5aba096bd1
add Test for txManager. As well as fix tests to account for txManager.
2016-12-14 12:56:53 -08:00
Dan Finlay
18e5173f06
Now migrating old vaults to new DEN format
2016-10-29 02:29:25 -07:00
Dan Finlay
f9ff6cb55e
Merge branch 'master' into i328-MultiVault
2016-10-25 16:59:58 -07:00
kumavis
3af3565000
test - fix delegate-call test
2016-10-24 16:12:44 -07:00
Dan Finlay
626b52d24a
Fix bug in new KeyringController vault restoring logic.
2016-10-21 13:11:30 -07:00
Dan Finlay
44aa1be277
Create basic keyring-controller unit test file
2016-10-21 12:11:54 -07:00
Dan Finlay
049705004f
Reproduced issue 743 in test case
...
This contract hex does include the value `f4`, but it was compiled from a contract with no instance of `.delegatecall`. I believe `f4` in this case is part of some other value or contract address, and `ethBinToOps` has some error in how it skips pushed data.
@kumavis
2016-10-17 14:48:25 -07:00
Dan Finlay
122018a96a
Fixed tests
2016-06-24 16:13:27 -07:00
Dan Finlay
eddaf71e31
Migrate etherscan providers to our RPC
2016-04-12 14:16:39 -07:00