mirror of
https://github.com/caprover/caprover
synced 2025-10-30 01:57:03 +00:00
13 lines
411 B
JavaScript
13 lines
411 B
JavaScript
/* eslint-disable no-undef */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
transform: {
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
"^.+\\.ts?$": "ts-jest",
|
|
},
|
|
testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?|ts?|js?)$",
|
|
testPathIgnorePatterns: ["/node_modules/"],
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
collectCoverage: true,
|
|
}; |