Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.
Closed
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/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
script -e -c "aztec test"

- name: Run js tests
run: script -e -c "BASE_PXE_URL=http://localhost NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --config jest.integration.config.json"
run: script -e -c "BASE_PXE_URL=http://localhost yarn test:js"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<dd>Complete TypeScript setup with generated contract bindings and utilities for interacting with Aztec sandbox.</dd>

<dt>Comprehensive testing</dt>
<dd>Noir unit tests for contract logic and TypeScript integration tests using Jest with ESM support.</dd>
<dd>Noir unit tests for contract logic and TypeScript integration tests using Vitest</dd>

<dt>Automated benchmarking</dt>
<dd>GitHub Actions workflow that automatically benchmarks your contracts on every PR, comparing Gates, DA Gas and L2 Gas against the base branch.</dd>
Expand Down
12 changes: 0 additions & 12 deletions jest.integration.config.json

This file was deleted.

87 changes: 39 additions & 48 deletions package.json

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what happened here with formatting

Original file line number Diff line number Diff line change
@@ -1,49 +1,40 @@
{
"name": "aztec-boilerplate",
"version": "0.0.0",
"repository": "https://github.com/defi-wonderland/aztec-boilerplate.git",
"author": "Wonderland",
"license": "MIT",
"type": "module",
"scripts": {
"clean": "rm -rf ./src/artifacts ./target",
"codegen": "aztec codegen target --outdir src/artifacts",
"compile": "aztec-nargo compile",
"test": "yarn test:nr && yarn test:js",
"test:js": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --config jest.integration.config.json",
"test:nr": "aztec test",
"lint:prettier": "prettier '**/*.{js,ts}' --write",
"ccc": "yarn clean && yarn compile && yarn codegen -f",
"prepare": "husky"
},
"lint-staged": {
"*.ts": "prettier --write -u"
},
"dependencies": {
"@aztec/accounts": "0.87.5",
"@aztec/aztec.js": "0.87.5",
"@aztec/noir-contracts.js": "0.87.5",
"@defi-wonderland/aztec-benchmark": "1.0.0",
"@types/node": "22.5.1"
},
"devDependencies": {
"@types/jest": "29.5.11",
"@types/mocha": "10.0.6",
"@types/node": "22.5.1",
"husky": "9.1.7",
"lint-staged": "15.4.3",
"prettier": "3.4.2",
"jest": "29.7.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.2"
},
"jest": {
"testTimeout": 200000
},
"config": {
"aztecVersion": "0.87.5"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}

"name": "aztec-boilerplate",
"version": "0.0.0",
"repository": "https://github.com/defi-wonderland/aztec-boilerplate.git",
"author": "Wonderland",
"license": "MIT",
"type": "module",
"scripts": {
"clean": "rm -rf ./src/artifacts ./target",
"codegen": "aztec codegen target --outdir src/artifacts",
"compile": "aztec-nargo compile",
"test": "yarn test:nr && yarn test:js",
"test:js": "vitest run",
"test:nr": "aztec test",
"lint:prettier": "prettier '**/*.{js,ts}' --write",
"ccc": "yarn clean && yarn compile && yarn codegen -f",
"prepare": "husky"
},
"lint-staged": {
"*.ts": "prettier --write -u"
},
"dependencies": {
"@aztec/accounts": "0.87.5",
"@aztec/aztec.js": "0.87.5",
"@aztec/noir-contracts.js": "0.87.5",
"@defi-wonderland/aztec-benchmark": "1.0.0"
},
"devDependencies": {
"@types/node": "22.5.1",
"husky": "9.1.7",
"lint-staged": "15.4.3",
"prettier": "3.4.2",
"typescript": "5.7.2",
"vitest": "^3.2.4"
},
"config": {
"aztecVersion": "0.87.5"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
9 changes: 9 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
// aztec sandbox tests take quite some time
hookTimeout: 200000,
testTimeout: 200000,
},
});
Loading
Loading