-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] Add test case for symlinked node_modules with ignore
Hoping to add a test case that will help us resolve some of the issues explored in #70
- Loading branch information
Showing
6 changed files
with
46 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,13 @@ | ||
{ | ||
"licenses": { | ||
"spdx": [ | ||
"Apache-2.0" | ||
] | ||
}, | ||
"packages": {}, | ||
"ignore": [ | ||
{ | ||
"prefix": "mit-" | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
tests/symlinked-node-modules/node_modules/mit-licensed/index.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
tests/symlinked-node-modules/node_modules/mit-licensed/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 @@ | ||
{ | ||
"name": "allowed", | ||
"dependencies": { | ||
"mit-licensed": "1.0.0" | ||
}, | ||
"private": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
var tap = require('tap') | ||
|
||
var results = require('../run')([], __dirname) | ||
|
||
tap.equal(results.status, 0) |