Skip to content

Commit 7c77eb4

Browse files
committed
chore: turns out stdio for jest jobs are always pipes, try with force non-blocking
1 parent f138055 commit 7c77eb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @ts-ignore windows
2-
process.stdout._handle.setBlocking(true);
2+
process.stdout._handle.setBlocking(false);
33
// @ts-ignore windows
4-
process.stderr._handle.setBlocking(true);
4+
process.stderr._handle.setBlocking(false);
55

66
console.log(process.stdout.isTTY);
77
console.log(process.stderr.isTTY);

0 commit comments

Comments
 (0)