Skip to content

Commit 9c7f8bb

Browse files
authored
chore: set jest to only run **/*.test.ts files
Jest was running compiled test files in the dist folder These would get stale
1 parent 6d46ff1 commit 9c7f8bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

jest.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,9 @@ export default {
153153
// testLocationInResults: false,
154154

155155
// The glob patterns Jest uses to detect test files
156-
// testMatch: [
157-
// "**/__tests__/**/*.[jt]s?(x)",
158-
// "**/?(*.)+(spec|test).[tj]s?(x)"
159-
// ],
156+
testMatch: [
157+
"**/*.test.ts"
158+
],
160159

161160
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
162161
// testPathIgnorePatterns: [

0 commit comments

Comments
 (0)