-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable test file crawling for jest example
- Loading branch information
Showing
7 changed files
with
1,105 additions
and
856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"bazel.buildifierExecutable": "${workspaceFolder}/node_modules/.bin/buildifier", | ||
"bazel.buildifierFixOnFormat": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/node_modules/jest-haste-map/build/crawlers/node.js b/node_modules/jest-haste-map/build/crawlers/node.js | ||
index 23985ae..62c7f9c 100644 | ||
--- a/node_modules/jest-haste-map/build/crawlers/node.js | ||
+++ b/node_modules/jest-haste-map/build/crawlers/node.js | ||
@@ -168,9 +168,9 @@ function findNative(roots, extensions, ignore, callback) { | ||
const args = Array.from(roots); | ||
args.push('-type', 'f'); | ||
|
||
- if (extensions.length) { | ||
- args.push('('); | ||
- } | ||
+ // if (extensions.length) { | ||
+ // args.push('('); | ||
+ // } | ||
|
||
extensions.forEach((ext, index) => { | ||
if (index) { | ||
@@ -181,9 +181,9 @@ function findNative(roots, extensions, ignore, callback) { | ||
args.push('*.' + ext); | ||
}); | ||
|
||
- if (extensions.length) { | ||
- args.push(')'); | ||
- } | ||
+ // if (extensions.length) { | ||
+ // args.push(')'); | ||
+ // } | ||
|
||
const child = (0, _child_process().spawn)('find', args); | ||
let stdout = ''; |
Oops, something went wrong.