Skip to content

Commit

Permalink
enable both
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Oct 25, 2024
1 parent d5cfe4c commit 16421d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ describe(
await vi.waitFor(() => expect(onExit).toHaveBeenCalledTimes(1));
expect(onExit).toHaveBeenCalledWith(null, 0);

console.log(buffer.byteLength)
const lines = buffer.toString().trim().split('\n');
expect(lines.length).toBe(n + 1);

Check failure on line 312 in tests/index.test.ts

View workflow job for this annotation

GitHub Actions / Build and test on x86_64-unknown-linux-gnu

tests/index.test.ts > PTY > ordering is correct

AssertionError: expected 841 to be 1025 // Object.is equality - Expected + Received - 1025 + 841 ❯ tests/index.test.ts:312:30
for (let i = 0; i < n + 1; i++) {
Expand All @@ -319,7 +318,7 @@ describe(
}
);

test('doesnt miss large output from fast commands', async () => {
test.only('doesnt miss large output from fast commands', async () => {
const payload = `hello`.repeat(4096);
let buffer = Buffer.from('');
const onExit = vi.fn();
Expand Down

0 comments on commit 16421d7

Please sign in to comment.