Skip to content

Commit

Permalink
Remove test for compression
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Stamm <ts@timostamm.de>
  • Loading branch information
timostamm committed Sep 3, 2024
1 parent 99e377e commit 697a4ea
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/connect-node/src/compression.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,6 @@ describe("compression", () => {
);
}
});
it("should raise internal error on excessive readMaxBytes", async () => {
try {
await compression.decompress(
new Uint8Array([0xde, 0xad, 0xbe, 0xef]),
Number.MAX_SAFE_INTEGER,
);
fail("excepted an error");
} catch (e) {
expect(e).toBeInstanceOf(ConnectError);
expect(ConnectError.from(e).message).toBe(
"[internal] decompression failed",
);
}
});
});
}
});

0 comments on commit 697a4ea

Please sign in to comment.