Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Make wasm tests pull from result directory #2319

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: noir_wasm
path: ./crates/wasm/dist
path: ./crates/wasm/result

- name: Download nargo binary
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm/test/browser/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "@esm-bundle/chai";
import initNoirWasm from "../../dist";
import initNoirWasm from "../../result";
import { compileNoirSource, nargoArtifactPath, noirSourcePath } from "../shared";

beforeEach(async () => {
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm/test/shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { initialiseResolver } from "@noir-lang/noir-source-resolver";
import { compile } from "../dist/";
import { compile } from "../result/";

export const noirSourcePath = "../../noir-script/src/main.nr";
export const nargoArtifactPath = "../../noir-script/target/noir_wasm_testing.json";
Expand Down