From 480da05426d35886ba81127210049dc32cb8813a Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 25 May 2015 22:52:59 -0700 Subject: [PATCH] ignore .nyc_output, upgrade tap, use coverage, rm fixtures --- .gitignore | 1 + package.json | 4 ++-- test/zz-cleanup.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 68d1cbcc..4c1dfe5f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ node_modules/* v8.log profile.txt nyc_output/ +.nyc_output/ coverage/ diff --git a/package.json b/package.json index 6cd44deb..97e385da 100644 --- a/package.json +++ b/package.json @@ -26,13 +26,13 @@ "devDependencies": { "mkdirp": "0", "rimraf": "^2.2.8", - "tap": "^1.1.0", + "tap": "^1.1.4", "tick": "0.0.6" }, "scripts": { "prepublish": "npm run benchclean", "profclean": "rm -f v8.log profile.txt", - "test": "tap test/*.js", + "test": "tap test/*.js --cov", "test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js", "bench": "bash benchmark.sh", "prof": "bash prof.sh && cat profile.txt", diff --git a/test/zz-cleanup.js b/test/zz-cleanup.js index a2f69257..f404df3f 100644 --- a/test/zz-cleanup.js +++ b/test/zz-cleanup.js @@ -5,7 +5,7 @@ var tap = require("tap") , path = require("path") tap.test("cleanup fixtures", function (t) { - rimraf(path.resolve(__dirname, "a"), function (er) { + rimraf(path.resolve(__dirname, "fixtures"), function (er) { t.ifError(er, "removed") t.end() })