Skip to content

Commit

Permalink
Fix patterns and unpin picomatch
Browse files Browse the repository at this point in the history
Fixes #2353.
  • Loading branch information
novemberborn committed Jan 12, 2020
1 parent 580705e commit efa8635
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/globs.js
Expand Up @@ -55,15 +55,15 @@ function normalizeGlobs({extensions, files: filePatterns, ignoredByWatcher: igno
const extensionPattern = buildExtensionPattern(extensions);
const defaultTestPatterns = [
`test.${extensionPattern}`,
`{src|source}/test.${extensionPattern}`,
`{src,source}/test.${extensionPattern}`,
`**/__tests__/**/*.${extensionPattern}`,
`**/*.spec.${extensionPattern}`,
`**/*.test.${extensionPattern}`,
`**/test-*.${extensionPattern}`,
`**/test/**/*.${extensionPattern}`,
`**/tests/**/*.${extensionPattern}`,
'!**/__tests__/**/__{helper|fixture}?(s)__/**/*',
'!**/test?(s)/**/{helper|fixture}?(s)/**/*'
'!**/__tests__/**/__{helper,fixture}?(s)__/**/*',
'!**/test?(s)/**/{helper,fixture}?(s)/**/*'
];

if (filePatterns) {
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -92,7 +92,7 @@
"ms": "^2.1.2",
"ora": "^4.0.3",
"p-map": "^3.0.0",
"picomatch": "~2.1.1",
"picomatch": "^2.2.1",
"pkg-conf": "^3.1.0",
"plur": "^3.1.1",
"pretty-ms": "^5.1.0",
Expand Down

0 comments on commit efa8635

Please sign in to comment.