Files
caprover/jest.config.js
Kasra Bigdeli 4a32cb9dc3 Updated packages (#2165)
* Updated packages

* Updated packages

* Fixed formatting

* Fixed tests
2024-10-17 21:16:25 -07:00

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,
};