-
Notifications
You must be signed in to change notification settings - Fork 19
/
jest.config.js
37 lines (31 loc) · 961 Bytes
/
jest.config.js
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
28
29
30
31
32
33
34
35
36
37
"use strict";
module.exports = {
clearMocks : true,
resetMocks : true,
restoreMocks : true,
notify : true,
coveragePathIgnorePatterns : [
"/node_modules/",
"/parsers/",
"/packages/test-utils/",
"/packages/vite/",
],
testPathIgnorePatterns : [
"/node_modules/",
"/packages/vite/",
],
watchPathIgnorePatterns : [
"/output/",
"/specimens/",
],
setupFilesAfterEnv : [
"<rootDir>/packages/test-utils/expect/toMatchDiffSnapshot.js",
"<rootDir>/packages/test-utils/expect/toMatchLogspySnapshot.js",
"<rootDir>/packages/test-utils/expect/toMatchRollupAssetSnapshot.js",
"<rootDir>/packages/test-utils/expect/toMatchRollupCodeSnapshot.js",
"<rootDir>/packages/test-utils/expect/toMatchRollupSnapshot.js",
],
snapshotSerializers : [
require.resolve("snapshot-diff/serializer.js"),
],
};