aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/wasm.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-24 19:09:55 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-24 19:09:55 -0800
commitd1eba784b9d902ac6043c1b76e64382d43fbc261 (patch)
treeb711a3f5624817496b0071721634dad8bdc50e4a /integration/bunjs-only-snippets/wasm.test.js
parentead77e074d0cfb3d170a243140cce564a4f287a5 (diff)
downloadbun-d1eba784b9d902ac6043c1b76e64382d43fbc261.tar.gz
bun-d1eba784b9d902ac6043c1b76e64382d43fbc261.tar.zst
bun-d1eba784b9d902ac6043c1b76e64382d43fbc261.zip
Add WASM modules but disable it for now
Diffstat (limited to 'integration/bunjs-only-snippets/wasm.test.js')
-rw-r--r--integration/bunjs-only-snippets/wasm.test.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/integration/bunjs-only-snippets/wasm.test.js b/integration/bunjs-only-snippets/wasm.test.js
new file mode 100644
index 000000000..ab88d5beb
--- /dev/null
+++ b/integration/bunjs-only-snippets/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;
+// }
+// });