Skip to content

Commit eb7258c

Browse files
fix: fix files glob for jest configuration (#100)
1 parent d8184dc commit eb7258c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configs/jest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ async function getJestRecommendedConfig() {
1919
name: "jest/recommended",
2020
files: [
2121
"**/{tests,test,__tests__}/**/*.?(c|m)[jt]s?(x)",
22-
"**/?(*.)+(spec|test).[jt]s?(x)",
23-
"**/test-*.[jt]s?(x)",
22+
"**/?(*.)+(spec|test).?(c|m)[jt]s?(x)",
23+
"**/test-*.?(c|m)[jt]s?(x)",
2424
],
2525
ignores: [
2626
"**/{tests,test,__tests__}/**/{helper,helpers,__helper__,__helpers__,fixture,fixtures,__fixture__,__fixtures__}/**/*",

0 commit comments

Comments
 (0)