16 lines
373 B
JavaScript
16 lines
373 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
rootDir: path.resolve(__dirname, '..'),
|
|
verbose: true,
|
|
testURL: 'http://localhost/',
|
|
testEnvironment: 'node',
|
|
moduleNameMapper: {
|
|
'^@lib/(.*)$': '<rootDir>/lib/$1',
|
|
},
|
|
testPathIgnorePatterns: ['/node_modules/', '__fixtures__', 'v1'],
|
|
transform: {
|
|
'^.+\\.js$': '<rootDir>/jest.transform.js',
|
|
},
|
|
};
|