mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
16 lines
485 B
JavaScript
16 lines
485 B
JavaScript
module.exports = {
|
|
roots: ['<rootDir>/packages'],
|
|
testMatch: [
|
|
'<rootDir>/packages/**/__tests__/*.{js,ts,tsx}',
|
|
'<rootDir>/packages/**/*.{spec,test}.{js,ts,tsx}',
|
|
],
|
|
testPathIgnorePatterns: ['<rootDir>/packages/tgui-bench'],
|
|
testEnvironment: 'jsdom',
|
|
testRunner: require.resolve('jest-circus/runner'),
|
|
transform: {
|
|
'^.+\\.(js|cjs|ts|tsx)$': require.resolve('@swc/jest'),
|
|
},
|
|
moduleFileExtensions: ['js', 'cjs', 'ts', 'tsx', 'json'],
|
|
resetMocks: true,
|
|
};
|