-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2cc594e
commit e7606cb
Showing
4 changed files
with
41 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
fooA( ) |
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 @@ | ||
fooB( ) |
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,15 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`skip folders passed specifically (stdout) 1`] = ` | ||
"a/file.js | ||
b/file.js" | ||
`; | ||
|
||
exports[`skip folders passed specifically (write) 1`] = `[]`; | ||
|
||
exports[`skips folders in glob (stdout) 1`] = ` | ||
"a/file.js | ||
b/file.js" | ||
`; | ||
|
||
exports[`skips folders in glob (write) 1`] = `[]`; |
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,24 @@ | ||
import { runCli } from "../utils"; | ||
|
||
describe("skips folders in glob", () => { | ||
runCli("skip-folders", [ | ||
"**/*", | ||
"-l", | ||
]).test({ | ||
status: 1, | ||
stderr: "", | ||
}); | ||
}); | ||
|
||
describe("skip folders passed specifically", () => { | ||
runCli("skip-folders", [ | ||
"a", | ||
"a/file.js", | ||
"b", | ||
"b/file.js", | ||
"-l", | ||
]).test({ | ||
status: 1, | ||
stderr: "", | ||
}); | ||
}); |