Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--test/tap/lifecycle-path.js4
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index f1bc03902..2f21cf4ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*.swp
npm-debug.log
+.nyc_output/
/test/bin
/test/output.log
/test/*/*/node_modules
diff --git a/test/tap/lifecycle-path.js b/test/tap/lifecycle-path.js
index 39761b48d..7c42c15f3 100644
--- a/test/tap/lifecycle-path.js
+++ b/test/tap/lifecycle-path.js
@@ -63,6 +63,10 @@ test('make sure the path is correct', function (t) {
}
return p.replace(/\\/g, '/')
})
+ // spawn-wrap adds itself to the path when coverage is enabled
+ actual = actual.filter(function (p) {
+ return !p.match(/\.node-spawn-wrap/)
+ })
// get the ones we tacked on, then the system-specific requirements
var expect = [