2022-04-29 02:44:38 +00:00
|
|
|
module.exports = {
|
2022-08-24 20:13:04 +00:00
|
|
|
preset: 'ts-jest/presets/js-with-ts-esm',
|
2022-05-07 12:33:17 +00:00
|
|
|
moduleFileExtensions: ['testing.js', 'web.js', 'mjs', 'js', 'ts', 'json'],
|
2022-04-29 02:44:38 +00:00
|
|
|
testEnvironment: 'jsdom',
|
|
|
|
testPathIgnorePatterns: ['/node_modules/', '/lib/'].filter(Boolean),
|
|
|
|
testMatch: ['**/*.web.test.js'],
|
|
|
|
transformIgnorePatterns: [
|
|
|
|
'__mocks__',
|
|
|
|
'/node_modules/(?!perf-deets|absurd-sql)'
|
|
|
|
],
|
|
|
|
globals: {
|
|
|
|
__TESTING__: true
|
|
|
|
}
|
|
|
|
};
|