aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/wasm.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/wasm.test.js')
-rw-r--r--test/bun.js/wasm.test.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/bun.js/wasm.test.js b/test/bun.js/wasm.test.js
new file mode 100644
index 000000000..ab88d5beb
--- /dev/null
+++ b/test/bun.js/wasm.test.js
@@ -0,0 +1,20 @@
+import { it } from "bun:test";
+// import * as wasm from "./wasm-return-1-test.wasm";
+
+// import { readFileSync } from "fs";
+
+// it("wasm readFileSync", async () => {
+// console.log("here");
+// console.log(wasm.hello());
+// });
+
+// it("wasm import", async () => {
+// console.log("heyt");
+// try {
+// console.log("hi");
+// expect(wasm.hello()).toBe(1);
+// } catch (err) {
+// console.error(err);
+// throw err;
+// }
+// });