Skip to content

Commit 3fe119d

Browse files
committed
fix vitest read file
1 parent d1dbca0 commit 3fe119d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webapp/IronCalc/src/components/tests/model.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { expect, test } from "vitest";
55
// This is a simple test that showcases how to load the wasm module in the tests
66

77
test("simple calculation", async () => {
8-
const buffer = await readFile("node_modules/@ironcalc/wasm/wasm_bg.wasm");
8+
const buffer = await readFile("node_modules/@ironcalc/wasm/ironcalc_bg.wasm");
99
initSync(buffer);
1010
const model = new Model("workbook", "en", "UTC");
1111
model.setUserInput(0, 1, 1, "=21*2");

webapp/IronCalc/src/components/tests/util.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test("decrease decimals", () => {
3131
});
3232

3333
test("format range to get the full formula", async () => {
34-
const buffer = await readFile("node_modules/@ironcalc/wasm/wasm_bg.wasm");
34+
const buffer = await readFile("node_modules/@ironcalc/wasm/ironcalc_bg.wasm");
3535
initSync(buffer);
3636

3737
const selectedView: SelectedView = {

0 commit comments

Comments
 (0)