aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/stdio-test-instance-a-lot.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/stdio-test-instance-a-lot.js')
-rw-r--r--test/bun.js/stdio-test-instance-a-lot.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/bun.js/stdio-test-instance-a-lot.js b/test/bun.js/stdio-test-instance-a-lot.js
new file mode 100644
index 000000000..2b65d786c
--- /dev/null
+++ b/test/bun.js/stdio-test-instance-a-lot.js
@@ -0,0 +1,23 @@
+import { ArrayBufferSink } from "bun";
+
+const sink = new ArrayBufferSink();
+
+sink.write("hello");
+sink.write(" ");
+sink.write("world");
+sink.write(new TextEncoder().encode("hello again|"));
+sink.write(
+ new TextEncoder().encode(
+ "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌",
+ ),
+);
+
+const string = Buffer.from(sink.end()).toString().repeat(9999);
+
+if (process.env.TEST_STDIO_STRING) {
+ const result = string;
+ process.stdout.write(result);
+} else {
+ const result = Buffer.from(string);
+ process.stdout.write(result);
+}
ork Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/packages/integrations/vercel (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2024-03-28[ci] release (#10598)astro@4.5.12@astrojs/vercel@7.5.0@astrojs/markdoc@0.9.3@astrojs/internal-helpers@0.4.0@astrojs/db@0.9.8Gravatar Houston (Bot) 2-1/+19
2024-03-28[ci] formatGravatar TK 1-2/+2
2024-03-28feat: allow dynamic route segments in isr.exclude array (#10513)Gravatar TK 5-3/+69
2024-03-28[ci] formatGravatar Houston (Bot) 2-3/+3
2024-03-28[ci] release (#10597)Gravatar Houston (Bot) 37-66/+89
2024-03-28db: Rework index config with generated index names (#10589)Gravatar Ben Holmes 6-68/+344