mirror of
https://github.com/mathuo/dockview
synced 2025-08-14 05:06:02 +00:00
20 lines
499 B
JavaScript
20 lines
499 B
JavaScript
const {join, normalize} = require("path");
|
|
|
|
const tsconfig = normalize(join(__dirname, "tsconfig.test.json"))
|
|
|
|
module.exports = {
|
|
displayName: { name: "root" },
|
|
preset: "ts-jest",
|
|
projects: ["<rootDir>/packages/*/jest.config.js"],
|
|
transform: {
|
|
"^.+\\.tsx?$":"ts-jest"
|
|
},
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json"],
|
|
globals: {
|
|
"ts-jest": {
|
|
tsconfig,
|
|
experimental: true,
|
|
compilerHost: true
|
|
}
|
|
}
|
|
} |