Skip to content

Commit 05f34c6

Browse files
committed
chore: fix for 'npm run test'
1 parent b7226a2 commit 05f34c6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ jobs:
2929
run: npm run lint
3030
- name: Typecheck
3131
run: npm run typecheck
32+
- name: Unit
33+
run: npm run test

jest.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ const config: Config = {
155155
// testLocationInResults: false,
156156

157157
// The glob patterns Jest uses to detect test files
158-
// testMatch: [
159-
// "**/__tests__/**/*.[jt]s?(x)",
160-
// "**/?(*.)+(spec|test).[tj]s?(x)"
161-
// ],
158+
testMatch: [
159+
// "**/__tests__/**/*.[jt]s?(x)",
160+
'**/?(*.)+(spec).[tj]s?(x)',
161+
],
162162

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

0 commit comments

Comments
 (0)