2020-09-04 02:31:09 +00:00
|
|
|
const path = require( 'path' );
|
|
|
|
const { jestConfig: baseE2Econfig } = require( '@woocommerce/e2e-environment' );
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
...baseE2Econfig,
|
2021-03-17 19:22:09 +00:00
|
|
|
moduleFileExtensions: [ 'js', 'ts' ],
|
2020-09-04 02:31:09 +00:00
|
|
|
roots: [ path.resolve( __dirname, '../specs' ) ],
|
2021-03-17 19:22:09 +00:00
|
|
|
testMatch: [ '**/*.(test|spec).(j|t)s', '*.(test|spec).(j|t)s' ],
|
2020-09-04 02:31:09 +00:00
|
|
|
testTimeout: 30000,
|
2021-03-17 19:22:09 +00:00
|
|
|
// transform: {
|
|
|
|
// '^.+\\.(ts|tsx|js|jsx)$': 'babel-jest',
|
|
|
|
// },
|
2020-09-04 02:31:09 +00:00
|
|
|
};
|