Skip to content

Commit 9742b8f

Browse files
authored
Merge pull request #1 from critesjosh/codex/find-and-fix-a-bug-in-codebase
Fix README test path
2 parents b15af1b + 5d0656a commit 9742b8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
This repo is meant to be a starting point for writing Aztec contracts and tests on the Aztec sandbox (local development environment).
1212

13-
You can find the **Easy Private Voting contract** in `./src/main.nr`. A simple integration test is in `./src/test/index.test.ts`.
13+
You can find the **Easy Private Voting contract** in `./src/main.nr`. A simple integration test is in `./src/test/e2e/index.test.ts`.
1414

1515
The corresponding tutorial can be found in the [Aztec docs here](https://docs.aztec.network/developers/tutorials/codealong/contract_tutorials/private_voting_contract).
1616

@@ -121,7 +121,7 @@ Then test with:
121121
yarn test
122122
```
123123

124-
Testing will run the **TypeScript tests** defined in `index.test.ts` inside `./src/test`, as well as the [Aztec Testing eXecution Environment (TXE)](https://docs.aztec.network/developers/guides/smart_contracts/testing) tests defined in [`first.nr`](./src/test/first.nr) (imported in the contract file with `mod test;`).
124+
Testing will run the **TypeScript tests** defined in `e2e/index.test.ts` inside `./src/test`, as well as the [Aztec Testing eXecution Environment (TXE)](https://docs.aztec.network/developers/guides/smart_contracts/testing) tests defined in [`first.nr`](./src/test/first.nr) (imported in the contract file with `mod test;`).
125125

126126
Note: The Typescript tests spawn an instance of the sandbox to test against, and close it once the TS tests are complete.
127127

0 commit comments

Comments
 (0)