Skip to content

Commit eae8736

Browse files
committed
Others
1 parent b3fd8c7 commit eae8736

File tree

1 file changed

+11
-5
lines changed
  • test/integration/bun-types/fixture

1 file changed

+11
-5
lines changed

test/integration/bun-types/fixture/index.ts

+11-5
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,17 @@ URL.revokeObjectURL;
266266
declare const myBodyInit: Bun.BodyInit;
267267
declare const myHeadersInit: Bun.HeadersInit;
268268

269-
new Blob().text();
270-
new Blob().json();
271-
new Blob().arrayBuffer();
272-
new Blob().bytes();
273-
new Blob().formData();
269+
await new Blob().text();
270+
await new Blob().json();
271+
await new Blob().arrayBuffer();
272+
await new Blob().bytes();
273+
await new Blob().formData();
274+
275+
await Bun.file("test").text();
276+
await Bun.file("test").json();
277+
await Bun.file("test").arrayBuffer();
278+
await Bun.file("test").bytes();
279+
await Bun.file("test").formData();
274280

275281
new MessagePort();
276282

0 commit comments

Comments
 (0)