-
Notifications
You must be signed in to change notification settings - Fork 779
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore all those folders mentioned in the gitignore.
1) ignore node_modules and .git folder always 2) Added test for new function
- Loading branch information
sparshithNR
committed
Mar 15, 2019
1 parent
7ffd0e3
commit 7309106
Showing
3 changed files
with
28 additions
and
2 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
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,8 @@ | ||
const { getIgnoreList } = require( "../../src/cli/utils" ); | ||
|
||
QUnit.module( "getIgnoreList", function() { | ||
QUnit.test( "reads getIgnoreList", function( assert ) { | ||
const ignoreList = getIgnoreList( `${process.cwd()}` ); | ||
assert.deepEqual( ignoreList, [ "dist", "node_modules", "build/report", "browserstack-run.pid", "temp/", "docs/_site/" ] ); | ||
} ); | ||
} ); |