forked from re-js/remini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.json
26 lines (26 loc) · 990 Bytes
/
jest.config.json
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
{
"testEnvironment": "jest-environment-jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/src/"
],
"testMatch": [
"<rootDir>/tests/**/*.test.ts*"
],
"moduleNameMapper": {
"^remini$": "<rootDir>/src",
"^remini/react$": "<rootDir>/react/src",
"^remini/preact$": "<rootDir>/preact/src",
"^remini/hooks-bindings": "<rootDir>/hooks-bindings/src",
"^htm/preact$": "<rootDir>/node_modules/htm/preact/index.umd.js",
"^htm/react$": "<rootDir>/node_modules/htm/react/index.umd.js",
"^htm$": "<rootDir>/node_modules/htm/dist/htm.umd.js",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.umd.js",
"^@testing-library/preact$": "<rootDir>/node_modules/@testing-library/preact/dist/cjs/index.js",
"^preact/hooks$": "<rootDir>/node_modules/preact/hooks/dist/hooks.umd.js",
"^preact/test-utils$": "<rootDir>/node_modules/preact/test-utils/dist/testUtils.umd.js"
},
"coveragePathIgnorePatterns": [
"node_modules",
"tests"
]
}