From 6a344b2f36439c10ee23219de6fd24b68508668a Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 15 Aug 2023 14:05:24 +0100 Subject: [PATCH 1/2] chore: Fix typo (#2315) --- crates/wasm/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasm/README.md b/crates/wasm/README.md index e2b625c739b..c5e8d54a836 100644 --- a/crates/wasm/README.md +++ b/crates/wasm/README.md @@ -2,7 +2,7 @@ This JavaScript package enables users to compile a Noir program, i.e. generating its artifacts. -The package also handles dependency management like how Nargo (Noir's CLI tool) opreates, but the package is used just for compilation, not proving, verifying and simulating functions. +The package also handles dependency management like how Nargo (Noir's CLI tool) operates, but the package is used just for compilation, not proving, verifying and simulating functions. ## Building from source From 74ca305d2f128ad6efc7c38f2b1fab16d47eaf99 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Tue, 15 Aug 2023 14:06:29 +0100 Subject: [PATCH 2/2] chore: Make `wasm` tests pull from `result` directory (#2319) --- .github/workflows/wasm.yml | 2 +- crates/wasm/test/browser/index.test.ts | 2 +- crates/wasm/test/shared.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index 66cb260aebf..7d429accdbf 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -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 diff --git a/crates/wasm/test/browser/index.test.ts b/crates/wasm/test/browser/index.test.ts index 6c86f0d3f94..9cc49069bfd 100644 --- a/crates/wasm/test/browser/index.test.ts +++ b/crates/wasm/test/browser/index.test.ts @@ -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 () => { diff --git a/crates/wasm/test/shared.ts b/crates/wasm/test/shared.ts index c21ce2e0de4..ee9c57d24f6 100644 --- a/crates/wasm/test/shared.ts +++ b/crates/wasm/test/shared.ts @@ -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";