mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
test(rewrite): Forgot the Jest config file!
This commit is contained in:
parent
de9f5c1c06
commit
29fe79bdf7
16
new/common/jest.config.mjs
Normal file
16
new/common/jest.config.mjs
Normal file
@ -0,0 +1,16 @@
|
||||
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
||||
export default {
|
||||
testEnvironment: 'node',
|
||||
testMatch: ["<rootDir>/test/**/*.ts"],
|
||||
transform: {
|
||||
'^.+\\.tsx?$': [
|
||||
'ts-jest',
|
||||
{
|
||||
tsconfig: "<rootDir>/test/tsconfig.json"
|
||||
},
|
||||
],
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'^#self/(.*)$': '<rootDir>/src/$1'
|
||||
}
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user