generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathjest.config.js
More file actions
24 lines (24 loc) · 680 Bytes
/
jest.config.js
File metadata and controls
24 lines (24 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
transformIgnorePatterns: [
"<rootDir>/node_modules/(?!escape-string-regexp).+\\.js$",
],
preset: "solid-jest/preset/browser",
setupFilesAfterEnv: ["<rootDir>/support/jest-setup.ts"],
testPathIgnorePatterns: ["test-util/"],
testEnvironment: "jsdom",
coverageThreshold: {
global: {
lines: 97,
statements: 97,
functions: 100,
branches: 89,
},
"./src/settings-ui": {
lines: 30,
statements: 30,
functions: 30,
branches: 30,
},
},
};