Skip to content

Commit 7777b89

Browse files
committed
chore(jest.config): Fix jest to isolate jest test spec; ignore vitest
1 parent 17f4caf commit 7777b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const customJestConfig = {
1111
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
1212
moduleDirectories: ['node_modules', '<rootDir>/'],
1313
testEnvironment: 'jest-environment-jsdom',
14-
testMatch: ['**/__tests__/**/*.(j|t)s?(x)', '!**/*.vitest.(j|t)s', '!**/*.e2e.spec.(j|t)s'],
14+
testMatch: ['**/__tests__/**/*.(j|t)s?(x)', '!**/*.vitest.(j|t)s?(x)', '!**/*.e2e.spec.(j|t)s'],
1515
}
1616

1717
// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async

0 commit comments

Comments
 (0)