2023-01-04 20:03:47 +01:00
|
|
|
/** @type {import('jest').Config} */
|
|
|
|
module.exports = {
|
2023-07-28 19:49:52 +02:00
|
|
|
testMatch: ['<rootDir>/compat-tests/fixtures/*/*.compat-test.ts'],
|
2023-01-04 20:03:47 +01:00
|
|
|
moduleNameMapper: {},
|
|
|
|
// setupFiles: ['./theatre/shared/src/setupTestEnv.ts'],
|
|
|
|
automock: false,
|
|
|
|
// transform: {
|
|
|
|
// '^.+\\.tsx?$': [
|
|
|
|
// 'esbuild-jest',
|
|
|
|
// {
|
|
|
|
// sourcemap: true,
|
|
|
|
// },
|
|
|
|
// ],
|
|
|
|
// '^.+\\.js$': [
|
|
|
|
// 'esbuild-jest',
|
|
|
|
// {
|
|
|
|
// sourcemap: true,
|
|
|
|
// },
|
|
|
|
// ],
|
|
|
|
// },
|
|
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
|
|
testTimeout: 1000 * 60,
|
|
|
|
}
|