mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
95a6a872b6
- [x] Move jest config from npm scripts to `jest.config.js`
- [x] Remove obsolete cross-env package (we don't need it anymore 🎉)
- [x] Fix bug where tests are not waiting for webdriver to be ready.
13 lines
280 B
JavaScript
13 lines
280 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
testMatch: ['**/*.test.js'],
|
|
verbose: true,
|
|
bail: true,
|
|
testEnvironment: 'node',
|
|
rootDir: 'test',
|
|
modulePaths: ['<rootDir>/lib'],
|
|
globalSetup: '<rootDir>/jest-global-setup.js',
|
|
globalTeardown: '<rootDir>/jest-global-teardown.js'
|
|
}
|