[Pkg-javascript-commits] [node-module-deps] 377/444: Fix failing tests from jsonstream update

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:15 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 91e5e1febb95dbbb4a912f44f9c75c98efde465d
Author: Andres Suarez <zertosh at gmail.com>
Date:   Thu May 7 12:06:27 2015 -0400

    Fix failing tests from jsonstream update
---
 package.json     | 2 +-
 test/tr_write.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 625c51a..606b10b 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
   "devDependencies": {
     "through": "~2.3.4",
     "tape": "~2.12.3",
-    "browser-pack": "~2.0.1"
+    "browser-pack": "^4.0.3"
   },
   "scripts": {
     "test": "tape test/*.js"
diff --git a/test/tr_write.js b/test/tr_write.js
index 789930e..b8e69e2 100644
--- a/test/tr_write.js
+++ b/test/tr_write.js
@@ -24,7 +24,7 @@ test('transform write', function (t) {
     p.pipe(JSONStream.stringify()).pipe(pack);
     
     pack.pipe(concat(function (buf) {
-        var src = buf.toString('utf');
+        var src = buf.toString('utf8');
         Function('console', src)({ log: function (msg) {
             t.equal(msg, 'WORLD WIDE WOW');
         } });

-- 
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