diff options
author | 2022-12-04 02:53:04 -0800 | |
---|---|---|
committer | 2022-12-04 02:53:04 -0800 | |
commit | f052e66df538f7fabb0e173d9dd79888201286f2 (patch) | |
tree | 336fec084318b8cb93f48b85185c662d7e5b226b /test/bun.js/stdio-test-instance.js | |
parent | 46e34a3fa9cba38e70ba034e5ea45584ecce5960 (diff) | |
download | bun-f052e66df538f7fabb0e173d9dd79888201286f2.tar.gz bun-f052e66df538f7fabb0e173d9dd79888201286f2.tar.zst bun-f052e66df538f7fabb0e173d9dd79888201286f2.zip |
Add some basic tests for process.stdout
Diffstat (limited to 'test/bun.js/stdio-test-instance.js')
-rw-r--r-- | test/bun.js/stdio-test-instance.js | 9 |
1 files changed, 9 insertions, 0 deletions
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 👌", + ), +); |