forked from HasangerGames/suroi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.mjs
27 lines (25 loc) · 838 Bytes
/
jest.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// @ts-check
/** @type {import("jest").Config} */
const config = {
projects: [
{
runner: "jest-runner-eslint",
displayName: "lint",
testMatch: [
"<rootDir>/common/src/**/*.ts",
"<rootDir>/client/src/**/*.ts",
"<rootDir>/client/editor/src/**/*.ts",
"<rootDir>/client/vite/*.ts",
"<rootDir>/client/vite.config.ts",
"<rootDir>/client/postcss.config.js",
"<rootDir>/client/svelte.config.js",
"<rootDir>/server/src/**/*.ts",
"<rootDir>/tests/src/**/*.ts",
"<rootDir>/eslint.config.mjs",
"<rootDir>/jest.config.mjs"
],
testPathIgnorePatterns: ["dist"]
}
]
};
export default config;