Skip to content

Commit

Permalink
fix(jest): improve testsMatch pattern for Jest 25
Browse files Browse the repository at this point in the history
Fixes #673
  • Loading branch information
just-jeb authored Jan 30, 2020
1 parent 1060d09 commit 6cd6e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest/src/default-config.resolver.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getSystemPath, join, Path, normalize } from '@angular-devkit/core';
import defaultConfig from './jest-config/default-config';

export const testPattern = `/**/+(*.)+(spec|test).+(ts|js)?(x)`;
export const testPattern = `/**/*(*.)@(spec|test).[tj]s?(x)`;
export const tsConfigName = 'tsconfig.spec.json';

export class DefaultConfigResolver {
Expand Down

0 comments on commit 6cd6e56

Please sign in to comment.