blob: ab88d5beb2a28007d5b4eec28e41d8efd947ec5a (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
//   }
// });
 |