aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/test-png-import.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-13 19:01:25 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-13 19:01:25 -0800
commita92258355dd78ccd7ac06483810a25ce436fa699 (patch)
tree70782591096f5a6afb3a5553cd9896ef1cb1fdd0 /test/bun.js/test-png-import.test.js
parent5bbaa7b400eee69669f0cd65d0ee5d26143c4910 (diff)
downloadbun-a92258355dd78ccd7ac06483810a25ce436fa699.tar.gz
bun-a92258355dd78ccd7ac06483810a25ce436fa699.tar.zst
bun-a92258355dd78ccd7ac06483810a25ce436fa699.zip
Don't call debug streams getter when not in debug
Diffstat (limited to 'test/bun.js/test-png-import.test.js')
-rw-r--r--test/bun.js/test-png-import.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bun.js/test-png-import.test.js b/test/bun.js/test-png-import.test.js
index db7ab2a56..ca2d0b9ce 100644
--- a/test/bun.js/test-png-import.test.js
+++ b/test/bun.js/test-png-import.test.js
@@ -1,7 +1,7 @@
import { expect, test } from "bun:test";
import { resolve } from "path";
-import PNG from "./test-png.png";
+import MyPNG from "./test-png.png";
test("png import", () => {
- expect(PNG).toBe(resolve(__dirname, "./test-png.png"));
+ expect(MyPNG).toBe(resolve(__dirname, "./test-png.png"));
});