You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
403 B
17 lines
403 B
const sharedConfig = require("../../jest.config.js");
|
|
module.exports = {
|
|
...sharedConfig,
|
|
rootDir: "./",
|
|
testEnvironment: "jsdom",
|
|
transform: {
|
|
"^.+\\.(ts|tsx)$": "ts-jest",
|
|
"^.+\\.(js|jsx)$": "babel-jest",
|
|
},
|
|
transformIgnorePatterns: ["/node_modules/(?!(jose)/)"],
|
|
globals: {
|
|
"ts-jest": {
|
|
isolatedModules: true,
|
|
},
|
|
},
|
|
setupFiles: ["<rootDir>/jest.setup.ts"],
|
|
};
|
|
|