theatre/jest.compat-tests.config.js
Aria 718beb4d7b
Catch more SSR issues and improve compat tests (#353)
This will cause the build to fail, as this will catch an SSR issue, which will be fixed after merging #369
2023-01-04 20:03:47 +01:00

23 lines
574 B
JavaScript

/** @type {import('jest').Config} */
module.exports = {
testMatch: ['<rootDir>/compatibility-tests/fixtures/*/*.compat-test.ts'],
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,
}