Skip to content

Commit

Permalink
chore: set jest to only run **/*.test.ts files
Browse files Browse the repository at this point in the history
Jest was running compiled test files in the dist folder

These would get stale
  • Loading branch information
Jameskmonger authored Sep 5, 2022
1 parent 6d46ff1 commit 9c7f8bb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,9 @@ export default {
// testLocationInResults: false,

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

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

0 comments on commit 9c7f8bb

Please sign in to comment.