2021-04-08 18:41:57 +08:00
|
|
|
export default {
|
2021-08-17 13:32:48 +08:00
|
|
|
rootDir: 'web_src',
|
2021-10-19 15:23:58 +08:00
|
|
|
setupFilesAfterEnv: ['jest-extended/all'],
|
2022-05-11 03:44:36 +08:00
|
|
|
testEnvironment: '@happy-dom/jest-environment',
|
2021-08-17 13:32:48 +08:00
|
|
|
testMatch: ['<rootDir>/**/*.test.js'],
|
2021-04-08 18:41:57 +08:00
|
|
|
testTimeout: 20000,
|
2021-11-16 16:16:05 +08:00
|
|
|
transform: {
|
2022-05-11 03:44:36 +08:00
|
|
|
'\\.svg$': '<rootDir>/js/testUtils/jestRawLoader.js',
|
2021-11-16 16:16:05 +08:00
|
|
|
},
|
2021-04-08 18:41:57 +08:00
|
|
|
verbose: false,
|
|
|
|
};
|
|
|
|
|