mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
532a10f9f5
* Adding browser outdated notification * updating dependency * adding unit tests for util function * adding unit tests for selectors, lintfix * Added Tests, refactored notification delay logic * lint:fix * adding test coverage for method parameter * Update app/scripts/controllers/app-state.js adding documentation details Co-authored-by: Mark Stacey <markjstacey@gmail.com> * moving declaration into test * Update app/scripts/controllers/app-state.test.js spacing in test file Co-authored-by: Mark Stacey <markjstacey@gmail.com> * Update jest.config.js removing duplicate entries Co-authored-by: Mark Stacey <markjstacey@gmail.com> * using async submitRequestToBackground method * removing unused import * removing unnecessary link syntax in notification * adding opera and edge and associated tests * handling the undefined case in bowser.satisfies * setOutdatedBrowserWarningLastShown try/catch * lint:fix * Removing try/catch and letting errors bubble up Removing deprecated displayWarning method Co-authored-by: Mark Stacey <markjstacey@gmail.com> * taking out forceMetamaskUpdateState call * excludint app-state test from mocha test suite * Added note: Jest files should match Mocha excluded * syntax error, lint:fix --------- Co-authored-by: Mark Stacey <markjstacey@gmail.com>
16 lines
516 B
JavaScript
16 lines
516 B
JavaScript
module.exports = {
|
|
// TODO: Remove the `exit` setting, it can hide broken tests.
|
|
exit: true,
|
|
ignore: [
|
|
'./app/scripts/lib/**/*.test.js',
|
|
'./app/scripts/migrations/*.test.js',
|
|
'./app/scripts/platforms/*.test.js',
|
|
'./app/scripts/controllers/app-state.test.js',
|
|
'./app/scripts/controllers/network/**/*.test.js',
|
|
'./app/scripts/controllers/permissions/**/*.test.js',
|
|
'./app/scripts/constants/error-utils.test.js',
|
|
],
|
|
recursive: true,
|
|
require: ['test/env.js', 'test/setup.js'],
|
|
};
|