Skip to content

Commit

Permalink
chore: Make wasm tests pull from result directory (#2319)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 15, 2023
1 parent 6a344b2 commit 74ca305
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 74ca305

Please sign in to comment.