Skip to content

Commit 1a8aa95

Browse files
authored
chore: only set necessary jest configs (#856)
1 parent a88a79a commit 1a8aa95

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

package.json

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,6 @@
9696
}
9797
},
9898
"jest": {
99-
"preset": "ts-jest",
100-
"testEnvironment": "node",
101-
"collectCoverageFrom": [
102-
"plugins/**/*.{ts,tsx,js,jsx}"
103-
],
104-
"coveragePathIgnorePatterns": [
105-
"/node_modules/",
106-
"/lib/",
107-
"/dist/",
108-
"\\.d\\.ts$",
109-
"/generated/"
110-
],
11199
"coverageReporters": [
112100
"json",
113101
"json-summary",
@@ -121,28 +109,6 @@
121109
"lines": 40,
122110
"statements": 40
123111
}
124-
},
125-
"moduleFileExtensions": [
126-
"ts",
127-
"tsx",
128-
"js",
129-
"jsx",
130-
"json"
131-
],
132-
"transform": {
133-
"^.+\\.(ts|tsx)$": "ts-jest",
134-
"^.+\\.(js|jsx|mjs|esm\\.js)$": "ts-jest"
135-
},
136-
"testMatch": [
137-
"**/__tests__/**/*.(ts|tsx|js)",
138-
"**/*.(test|spec).(ts|tsx|js)"
139-
],
140-
"transformIgnorePatterns": [
141-
"node_modules/(?!(@backstage/.*))"
142-
],
143-
"testPathIgnorePatterns": [
144-
"packages/app/e2e-tests/",
145-
"packages/app/src/"
146-
]
112+
}
147113
}
148114
}

0 commit comments

Comments
 (0)