Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Dec 20, 2023
1 parent f793da5 commit a2e78e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/directory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const decoder = new TextDecoder("utf-8");
const encoder = new TextEncoder();

const initialized = (async () => {
await init();
await init(new URL("../dist/wasmer_js_bg.wasm", import.meta.url));
initializeLogger("warn");
})();

Expand Down
2 changes: 1 addition & 1 deletion tests/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const encoder = new TextEncoder();
const decoder = new TextDecoder("utf-8");

const initialized = (async () => {
await init();
await init(new URL("../dist/wasmer_js_bg.wasm", import.meta.url));
initializeLogger("warn");
})();

Expand Down
4 changes: 2 additions & 2 deletions tests/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import {
init,
initializeLogger,
Directory,
} from "..";
} from "../dist/WasmerSDKBundled";

const initialized = (async () => {
await init();
await init(new URL("../dist/wasmer_js_bg.wasm", import.meta.url));
initializeLogger("warn");
})();

Expand Down

0 comments on commit a2e78e3

Please sign in to comment.