We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc07dce commit 3445cffCopy full SHA for 3445cff
jest.config.js
@@ -2,8 +2,8 @@
2
const isCI = require("is-ci");
3
4
/** @type {Partial<import('@jest/types').Config.DefaultOptions>} */
5
-module.exports = {
6
- testMatch: ["**/__tests__/**/*.test.ts"],
+const config = {
+ testMatch: ["**/test/**/*.spec.ts"],
7
collectCoverageFrom: ["<rootDir>/src/**/*", "!<rootDir>/src/lualib/**/*"],
8
watchPathIgnorePatterns: ["/watch\\.ts$"],
9
@@ -12,8 +12,10 @@ module.exports = {
12
preset: "ts-jest",
13
globals: {
14
"ts-jest": {
15
- tsConfig: "<rootDir>/__tests__/tsconfig.json",
+ tsConfig: "<rootDir>/test/tsconfig.json",
16
diagnostics: { warnOnly: !isCI },
17
},
18
19
};
20
+
21
+module.exports = config;
0 commit comments