mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:36:05 +00:00
parent
f6add23da5
commit
d5d3e4fb96
@ -8,6 +8,7 @@ module.exports = {
|
||||
testEnvironment: 'jsdom',
|
||||
preset: 'ts-jest',
|
||||
testMatch: ['**/__tests__/**/*.test.[jt]s?(x)'],
|
||||
setupFiles: ['dotenv/config'],
|
||||
setupFilesAfterEnv: [require.resolve('jest-dom/extend-expect'), './jest.setup.ts'],
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, {
|
||||
prefix: '<rootDir>/',
|
||||
|
Loading…
Reference in New Issue
Block a user