Skip to content

Commit 275c600

Browse files
committed
test: add empty Uint8Array test
1 parent f707916 commit 275c600

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

__test__/objects.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ describe("Binarypack", () => {
8282

8383
it("should keep ArrayBuffers", async () => {
8484
const values = [
85+
new Uint8Array([]).buffer,
8586
new Uint8Array([0]).buffer,
8687
new Uint8Array([0, 1, 2, 3, 4, 6, 7]).buffer,
8788
new Uint8Array([0, 1, 2, 3, 4, 6, 78, 9, 10, 11, 12, 13, 14, 15]).buffer,

0 commit comments

Comments
 (0)