Skip to content

Commit 91e5e1f

Browse files
committed
Fix failing tests from jsonstream update
1 parent 401b3d3 commit 91e5e1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"devDependencies": {
2727
"through": "~2.3.4",
2828
"tape": "~2.12.3",
29-
"browser-pack": "~2.0.1"
29+
"browser-pack": "^4.0.3"
3030
},
3131
"scripts": {
3232
"test": "tape test/*.js"

test/tr_write.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test('transform write', function (t) {
2424
p.pipe(JSONStream.stringify()).pipe(pack);
2525

2626
pack.pipe(concat(function (buf) {
27-
var src = buf.toString('utf');
27+
var src = buf.toString('utf8');
2828
Function('console', src)({ log: function (msg) {
2929
t.equal(msg, 'WORLD WIDE WOW');
3030
} });

0 commit comments

Comments
 (0)