aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/inspect.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-04 06:55:12 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-04 06:55:12 -0800
commit8830cbc51e80cd6aa690713aa68d3e55b0de25d9 (patch)
tree1e82cae600cef8948fdca6ffe17190f8cbd85e7e /test/bun.js/inspect.test.js
parent23c90a76c2335e954b0faf2aad4e818462367b2c (diff)
downloadbun-8830cbc51e80cd6aa690713aa68d3e55b0de25d9.tar.gz
bun-8830cbc51e80cd6aa690713aa68d3e55b0de25d9.tar.zst
bun-8830cbc51e80cd6aa690713aa68d3e55b0de25d9.zip
[test] Ensure console.log(globalThis) doesn't crash
Diffstat (limited to 'test/bun.js/inspect.test.js')
-rw-r--r--test/bun.js/inspect.test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/bun.js/inspect.test.js b/test/bun.js/inspect.test.js
index 67e19e985..8789b7aba 100644
--- a/test/bun.js/inspect.test.js
+++ b/test/bun.js/inspect.test.js
@@ -275,6 +275,7 @@ describe("latin1 supplemental", () => {
});
const fixture = [
+ () => globalThis,
() => Bun.file("/tmp/log.txt").stream(),
() => Bun.file("/tmp/log.1.txt").stream().getReader(),
() => Bun.file("/tmp/log.2.txt").writer(),