We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
through
1 parent de34703 commit 56d7a8bCopy full SHA for 56d7a8b
test/objectMode.js
@@ -6,7 +6,7 @@ var forEach = require('for-each');
6
var through = require('@ljharb/through');
7
8
tap.test('object results', function (assert) {
9
- var printer = through({ objectMode: true });
+ var printer = through(null, null, { objectMode: true });
10
var objects = [];
11
12
printer.write = function (obj) {
test/objectModeWithComment.js
@@ -5,7 +5,7 @@ var tape = require('../');
5
tap.test('test.comment() in objectMode', function (assert) {
printer.on('error', function (e) {
assert.fail(e);
0 commit comments