Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evg4b committed May 12, 2024
1 parent 8e05f2d commit 28cb9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ describe('parser wasm', () => {

beforeAll(async () => {
const wasmBuffer = await fs.readFile('parser/parser.wasm');
const wasm = await WebAssembly.instantiate(wasmBuffer, go.importObject);
go = new Go();
const wasm = await WebAssembly.instantiate(wasmBuffer, go.importObject);
go.run(wasm.instance);
});

Expand Down

0 comments on commit 28cb9e7

Please sign in to comment.