Brad Decker
09d81ac5f2
remove the ui/app and ui/lib folders ( #10911 )
4 years ago
Thomas Huang
b99c4fb5cf
Use jest to run ui/**/*.test.js ( #10885 )
4 years ago
Brad Decker
5a233e4634
colocate tests in flat structure ( #10655 )
4 years ago
Thomas Huang
3ba91df387
Unifies unit tests filename suffix to .test.js ( #10607 )
...
* Unifies the filename suffix to .test.js
* Display @babel/no-invalid-this rule for tx-controller.test.js
* Add test file extension to test:unit:global
4 years ago
Brad Decker
616b71271a
add chainId to all new transaction metadata ( #10528 )
4 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
4 years ago
Erik Marks
652db3fd36
Use string network and chain IDs ( #8628 )
...
* convert network id enums to string
* stringify appropriate chain/network ids in tests
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
e05db747f5
Tidy up transaction-related unit tests ( #8362 )
...
Co-Authored-By: Erik Marks <25517051+rekmarks@users.noreply.github.com>
5 years ago
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
5 years ago
tmashuang
13ebb0b455
Moved loose some loose test files to sub folders
7 years ago
Dan Finlay
614501e743
Fix transaction confirmation ordering
...
Newest tx or message will now always appear last, and a new tx proposed after the user has a confirmation box open will never change the confirmation to a different tx proposed.
Fixes #1637
7 years ago