diff options
author | 2022-11-30 07:28:48 -0800 | |
---|---|---|
committer | 2022-11-30 07:28:48 -0800 | |
commit | 3cb462a3e69811dd34200d0eaaba89471e44d82a (patch) | |
tree | 7ae494bdecb1d0164b63c1e7ed0e5d8d797d52f5 /test/bun.js/inspect.test.js | |
parent | f8b87e3ee2cf814e18101badab666941fd7833d9 (diff) | |
download | bun-3cb462a3e69811dd34200d0eaaba89471e44d82a.tar.gz bun-3cb462a3e69811dd34200d0eaaba89471e44d82a.tar.zst bun-3cb462a3e69811dd34200d0eaaba89471e44d82a.zip |
Fix console.log regression with emoji
Diffstat (limited to 'test/bun.js/inspect.test.js')
-rw-r--r-- | test/bun.js/inspect.test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bun.js/inspect.test.js b/test/bun.js/inspect.test.js index 5dc0bc645..67e19e985 100644 --- a/test/bun.js/inspect.test.js +++ b/test/bun.js/inspect.test.js @@ -321,3 +321,7 @@ describe("crash testing", () => { }); } }); + +it("possibly formatted emojis log", () => { + expect(Bun.inspect("✔", "hey")).toBe("✔ hey"); +}); |