3.1.2 Set the PTY fd to be non-blocking #208
Annotations
7 errors
Unhandled error:
tests/index.test.ts#L59
AssertionError: expected { '0': 'pipe:[34612]', …(32) } to strictly equal { '0': 'pipe:[34612]', …(31) }
- Expected
+ Received
Object {
"0": "pipe:[34612]",
"1": "pipe:[34613]",
"10": "pipe:[39005]",
"11": "pipe:[39005]",
"111": "pipe:[36055]",
"114": "pipe:[36056]",
"12": "anon_inode:[eventfd]",
"13": "anon_inode:[eventpoll]",
"14": "pipe:[34629]",
"15": "pipe:[34629]",
"16": "anon_inode:[eventfd]",
"17": "anon_inode:[eventpoll]",
"19": "pipe:[34653]",
"2": "pipe:[34614]",
"20": "pipe:[34653]",
"21": "anon_inode:[eventfd]",
"22": "pipe:[38102]",
"23": "anon_inode:[eventpoll]",
"24": "pipe:[38102]",
"25": "anon_inode:[eventfd]",
"26": "anon_inode:[eventpoll]",
"27": "pipe:[39006]",
"28": "/dev/null",
"29": "pipe:[39006]",
"3": "anon_inode:[eventpoll]",
"30": "anon_inode:[eventfd]",
+ "34": "/dev/null",
"4": "pipe:[34627]",
"5": "pipe:[34627]",
"6": "pipe:[34628]",
"7": "pipe:[34628]",
"8": "anon_inode:[eventfd]",
"9": "anon_inode:[eventpoll]",
}
❯ onExit tests/index.test.ts:59:34
❯ wrapper.ts:87:35
This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "spawns and exits". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Build and test on x86_64-unknown-linux-gnu
Process completed with exit code 1.
|
Unhandled error:
tests/index.test.ts#L104
AssertionError: expected 'hello cat\r\nhello cat\r\n^D\b\b' to be 'hello cat\r\n^D\b\bhello cat' // Object.is equality
- Expected
+ Received
hello cat
- ^D��hello cat
+ hello cat
+ ^D��
❯ onExit tests/index.test.ts:104:35
❯ wrapper.ts:87:35
This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "can be written to". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
tests/index.test.ts#L104
AssertionError: expected 'hello cat\r\nhello cat\r\n^D\b\b' to be 'hello cat\r\n^D\b\bhello cat' // Object.is equality
- Expected
+ Received
hello cat
- ^D��hello cat
+ hello cat
+ ^D��
❯ onExit tests/index.test.ts:104:35
❯ wrapper.ts:87:35
This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "can be written to". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Build and test on aarch64-apple-darwin
Process completed with exit code 1.
|
Unhandled error:
tests/index.test.ts#L323
AssertionError: expected 'ready\r\nhello cat\r\nhello cat\r\n^D…' to strictly equal 'ready\r\nhello cat\r\n^D\b\bhello cat…'
- Expected
+ Received
ready
hello cat
- ^D��hello cat
-
+ hello cat
+ ^D��
❯ onExit tests/index.test.ts:323:47
❯ wrapper.ts:87:35
This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "can run concurrent shells". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Build and test on x86_64-apple-darwin
Process completed with exit code 1.
|