From f052e66df538f7fabb0e173d9dd79888201286f2 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 4 Dec 2022 02:53:04 -0800 Subject: Add some basic tests for process.stdout --- test/bun.js/stdio-test-instance.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/bun.js/stdio-test-instance.js (limited to 'test/bun.js/stdio-test-instance.js') diff --git a/test/bun.js/stdio-test-instance.js b/test/bun.js/stdio-test-instance.js new file mode 100644 index 000000000..36e48f472 --- /dev/null +++ b/test/bun.js/stdio-test-instance.js @@ -0,0 +1,9 @@ +process.stdout.write("hello"); +process.stdout.write(" "); +process.stdout.write("world"); +process.stdout.write(new TextEncoder().encode("hello again|")); +process.stdout.write( + new TextEncoder().encode( + "😋 Get Emoji — All Emojis to ✂️ Copy and 📋 Paste 👌", + ), +); -- cgit v1.2.3