Skip to content

Commit 8c48892

Browse files
authored
Merge pull request #372 from Jameskmonger/fix-jest-matcher
chore: set jest to only run `**/*.test.ts` files
2 parents b507415 + b7b0ee9 commit 8c48892

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)