aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/concat.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-31 17:55:16 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-31 17:55:16 -0800
commitcc4326cd829decc95d1f1f23998f97705637e04b (patch)
tree9ccaa829b6d48af521d5e5fcdbabc0dac8d186af /test/bun.js/concat.test.js
parentc57b37d29f9d04780c7f7917789cf8b424710d23 (diff)
downloadbun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz
bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst
bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/concat.test.js')
-rw-r--r--test/bun.js/concat.test.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/bun.js/concat.test.js b/test/bun.js/concat.test.js
index 35cec4f8b..36421cab6 100644
--- a/test/bun.js/concat.test.js
+++ b/test/bun.js/concat.test.js
@@ -27,20 +27,18 @@ describe("concat", () => {
}
it("works with one element", () => {
- expect(concatToString([new Uint8Array([123])])).toBe(
- polyfillToString([new Uint8Array([123])]),
- );
+ expect(concatToString([new Uint8Array([123])])).toBe(polyfillToString([new Uint8Array([123])]));
});
it("works with two elements", () => {
- expect(
- concatToString([Uint8Array.from([123]), Uint8Array.from([456])]),
- ).toBe(polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])]));
+ expect(concatToString([Uint8Array.from([123]), Uint8Array.from([456])])).toBe(
+ polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])]),
+ );
});
it("works with mix of ArrayBuffer and TypedArray elements", () => {
- expect(
- concatToString([Uint8Array.from([123]).buffer, Uint8Array.from([456])]),
- ).toBe(polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])]));
+ expect(concatToString([Uint8Array.from([123]).buffer, Uint8Array.from([456])])).toBe(
+ polyfillToString([Uint8Array.from([123]), Uint8Array.from([456])]),
+ );
});
});