diff options
author | 2023-01-31 17:55:16 -0800 | |
---|---|---|
committer | 2023-01-31 17:55:16 -0800 | |
commit | cc4326cd829decc95d1f1f23998f97705637e04b (patch) | |
tree | 9ccaa829b6d48af521d5e5fcdbabc0dac8d186af /test/bun.js/unsafe.test.js | |
parent | c57b37d29f9d04780c7f7917789cf8b424710d23 (diff) | |
download | bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip |
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/unsafe.test.js')
-rw-r--r-- | test/bun.js/unsafe.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/bun.js/unsafe.test.js b/test/bun.js/unsafe.test.js index 741dc0241..8ce7598db 100644 --- a/test/bun.js/unsafe.test.js +++ b/test/bun.js/unsafe.test.js @@ -7,7 +7,7 @@ it("arrayBufferToString u8", async () => { gc(true); expect(Bun.unsafe.arrayBufferToString(bytes)).toBe("hello world"); gc(true); - await new Promise((resolve) => setTimeout(resolve, 0)); + await new Promise(resolve => setTimeout(resolve, 0)); gc(true); }); @@ -18,7 +18,7 @@ it("arrayBufferToString ArrayBuffer", async () => { const out = Bun.unsafe.arrayBufferToString(bytes.buffer); expect(out).toBe("hello world"); gc(true); - await new Promise((resolve) => setTimeout(resolve, 0)); + await new Promise(resolve => setTimeout(resolve, 0)); globalThis.bytes = bytes; gc(true); expect(out).toBe("hello world"); @@ -32,7 +32,7 @@ it("arrayBufferToString u16", () => { const charCodes = Bun.unsafe .arrayBufferToString(uint16) .split("") - .map((a) => a.charCodeAt(0)); + .map(a => a.charCodeAt(0)); gc(true); for (let i = 0; i < charCodes.length; i++) { expect("hello world"[i]).toBe(String.fromCharCode(charCodes[i])); |