diff options
author | 2022-12-13 19:01:25 -0800 | |
---|---|---|
committer | 2022-12-13 19:01:25 -0800 | |
commit | a92258355dd78ccd7ac06483810a25ce436fa699 (patch) | |
tree | 70782591096f5a6afb3a5553cd9896ef1cb1fdd0 /test/bun.js/test-png-import.test.js | |
parent | 5bbaa7b400eee69669f0cd65d0ee5d26143c4910 (diff) | |
download | bun-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.js | 4 |
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")); }); |