Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.
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 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. Tests automatically start and manage the Aztec sandbox - no manual setup required.</dd>
<dd>Noir unit tests for contract logic and TypeScript integration tests using Vitest. Tests automatically start and manage the Aztec sandbox - no manual setup required.</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
14 changes: 0 additions & 14 deletions jest.integration.config.json

This file was deleted.

17 changes: 6 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"codegen": "aztec codegen target --outdir src/artifacts",
"compile": "aztec-nargo compile",
"test": "yarn test:nr && yarn test:js",
"test:js": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --no-cache --runInBand --config jest.integration.config.json",
"test:js": "vitest run",
"test:nr": "aztec test",
"lint:prettier": "prettier '**/*.{js,ts}' --write",
"build": "yarn compile && yarn codegen -f",
Expand All @@ -23,25 +23,20 @@
"@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"
"@defi-wonderland/aztec-benchmark": "1.0.0"
},
"devDependencies": {
"@types/node": "22.5.1",
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@types/jest": "29.5.11",
"@types/mocha": "10.0.6",
"@types/node": "22.5.1",
"husky": "9.1.7",
"jest": "29.7.0",
"tsx": "4.20.3",
"lint-staged": "15.4.3",
"prettier": "3.4.2",
"ts-jest": "29.4.0",
"tsx": "4.20.3",
"typescript": "5.7.2"
},
"jest": {
"testTimeout": 200000
"typescript": "5.7.2",
"vitest": "3.2.4"
},
"config": {
"aztecVersion": "0.87.5"
Expand Down
1 change: 1 addition & 0 deletions src/ts/counter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
} from "@aztec/aztec.js";
import { getInitialTestAccountsWallets } from "@aztec/accounts/testing";
import { deployCounter, setupSandbox } from "./utils.js";
import { describe, it, expect, beforeAll, beforeEach } from "vitest";

describe("Counter Contract", () => {
let pxe: PXE;
Expand Down
11 changes: 11 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineConfig } from "vitest/config";

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Disable file parallelism?

globalSetup: "./vitest.setup.ts",
fileParallelism: false,
},
});
Loading