[Pkg-javascript-commits] [node-module-deps] 185/444: fix the pkg_filter test, upgrade detective
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:47:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-module-deps.
commit ccfa64a475bbf4359830073cc639a5701c40e18b
Author: James Halliday <mail at substack.net>
Date: Thu Apr 10 21:19:05 2014 -0700
fix the pkg_filter test, upgrade detective
---
package.json | 6 +++---
test/pkg_filter.js | 2 +-
test/stream.js | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package.json b/package.json
index 3374880..92e7493 100644
--- a/package.json
+++ b/package.json
@@ -7,14 +7,14 @@
"module-deps": "cmd.js"
},
"dependencies": {
- "through": "~2.3.4",
"JSONStream": "~0.7.1",
"browser-resolve": "~1.2.2",
- "resolve": "~0.6.0",
"concat-stream": "~1.4.1",
+ "detective": "~3.1.0",
"minimist": "~0.0.5",
"parents": "0.0.2",
- "detective": "~2.4.0"
+ "resolve": "~0.6.0",
+ "through": "~2.3.4"
},
"devDependencies": {
"tape": "~2.3.2",
diff --git a/test/pkg_filter.js b/test/pkg_filter.js
index 132c84f..7aa2423 100644
--- a/test/pkg_filter.js
+++ b/test/pkg_filter.js
@@ -5,7 +5,7 @@ var packer = require('browser-pack');
var concat = require('concat-stream');
test('pkg filter', function (t) {
- t.plan(2);
+ t.plan(3);
var p = mdeps(__dirname + '/files/pkg_filter/test.js', {
packageFilter: function (pkg) {
diff --git a/test/stream.js b/test/stream.js
index 1cc6de1..7b718ae 100644
--- a/test/stream.js
+++ b/test/stream.js
@@ -27,9 +27,9 @@ test('infer path from fs-like streams', function (t) {
t.plan(2);
var path = 'foo-path'
var stream = through();
-
+
stream.path = path
-
+
var p = parser(stream);
p.on('error', t.fail.bind(t));
p.on('data', function(result) {
@@ -39,4 +39,4 @@ test('infer path from fs-like streams', function (t) {
stream.queue('');
stream.queue(null);
-});
\ No newline at end of file
+});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git
More information about the Pkg-javascript-commits
mailing list