Skip to content

Commit 01e3f9d

Browse files
Update test/parallel/test-repl-import-referrer.js
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
1 parent 88f9b43 commit 01e3f9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-repl-import-referrer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ child.stdout.on('data', (data) => {
2626
child.on('exit', common.mustCall((code, signal) => {
2727
assert.strictEqual(code, 0);
2828
assert.strictEqual(signal, null);
29+
assert.strictEqual(child.stdin.writableEnded, true);
2930
}));
3031

3132
child.stdin.write('await import(\'./message.mjs\');\n');

0 commit comments

Comments
 (0)