aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/arraybuffersink.test.ts
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/arraybuffersink.test.ts
parentc57b37d29f9d04780c7f7917789cf8b424710d23 (diff)
downloadbun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz
bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst
bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/arraybuffersink.test.ts')
-rw-r--r--test/bun.js/arraybuffersink.test.ts46
1 files changed, 10 insertions, 36 deletions
diff --git a/test/bun.js/arraybuffersink.test.ts b/test/bun.js/arraybuffersink.test.ts
index d747ffc64..f0df03d90 100644
--- a/test/bun.js/arraybuffersink.test.ts
+++ b/test/bun.js/arraybuffersink.test.ts
@@ -11,44 +11,23 @@ describe("ArrayBufferSink", () => {
],
[
["abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ"],
- new TextEncoder().encode(
- "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
- ),
+ new TextEncoder().encode("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"),
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
],
[
["😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌"],
- new TextEncoder().encode(
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
- ),
+ new TextEncoder().encode("😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌"),
"😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
],
[
- [
- "abcdefghijklmnopqrstuvwxyz",
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
- ],
- new TextEncoder().encode(
- "abcdefghijklmnopqrstuvwxyz" +
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
- ),
- "abcdefghijklmnopqrstuvwxyz" +
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
+ ["abcdefghijklmnopqrstuvwxyz", "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌"],
+ new TextEncoder().encode("abcdefghijklmnopqrstuvwxyz" + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌"),
+ "abcdefghijklmnopqrstuvwxyz" + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
],
[
- [
- "abcdefghijklmnopqrstuvwxyz",
- "😋",
- " Get Emoji — All Emojis",
- " to ✂️ Copy and 📋 Paste 👌",
- ],
- new TextEncoder().encode(
- "abcdefghijklmnopqrstuvwxyz" +
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
- ),
- "(rope) " +
- "abcdefghijklmnopqrstuvwxyz" +
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
+ ["abcdefghijklmnopqrstuvwxyz", "😋", " Get Emoji — All Emojis", " to ✂️ Copy and 📋 Paste 👌"],
+ new TextEncoder().encode("abcdefghijklmnopqrstuvwxyz" + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌"),
+ "(rope) " + "abcdefghijklmnopqrstuvwxyz" + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
],
[
[
@@ -57,13 +36,8 @@ describe("ArrayBufferSink", () => {
" Get Emoji — All Emojis",
" to ✂️ Copy and 📋 Paste 👌",
],
- new TextEncoder().encode(
- "abcdefghijklmnopqrstuvwxyz" +
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
- ),
- "(array) " +
- "abcdefghijklmnopqrstuvwxyz" +
- "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
+ new TextEncoder().encode("abcdefghijklmnopqrstuvwxyz" + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌"),
+ "(array) " + "abcdefghijklmnopqrstuvwxyz" + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
],
] as const;