Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test:e2e defaults to no-docker #10966

Merged
merged 2 commits into from
Jan 9, 2025
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 Dockerfile.end-to-end
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ COPY /usr/src /usr/src
COPY /anvil /opt/foundry/bin/anvil

WORKDIR /usr/src/yarn-project/end-to-end
ENTRYPOINT ["yarn", "test:e2e-no-docker"]
ENTRYPOINT ["yarn", "test:e2e"]
5 changes: 3 additions & 2 deletions yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"clean": "rm -rf ./dest .tsbuildinfo",
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
"test:with-alerts": "./scripts/test-with-alerts.sh",
"test:e2e": "./scripts/test.sh simple",
"test:e2e-no-docker": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000 --forceExit",
"test:e2e": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000 --forceExit",
"test:e2e-docker": "./scripts/test.sh simple",
"test:e2e-no-docker": "echo 'The command test:e2e-no-docker is now the same as test:e2e. You can now run this dropping the no-docker suffix.'; yarn test:e2e",
"test:profile": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 0x --output-dir \"flame_graph/{pid}.0x\" -- node --experimental-vm-modules ../node_modules/jest/bin/jest.js --runInBand --testTimeout=300000 --forceExit",
"serve:flames": "python3 -m http.server --directory \"flame_graph\" 8000",
"test:debug": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --inspect --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000 --forceExit",
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/foundation/src/testing/files/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function updateInlineTestData(targetFileFromRepoRoot: string, itemName: s
/**
* Updates the sample Prover.toml files in noir-projects/noir-protocol-circuits/crates/.
* @remarks Requires AZTEC_GENERATE_TEST_DATA=1 to be set
* To re-gen, run 'AZTEC_GENERATE_TEST_DATA=1 FAKE_PROOFS=1 yarn test:e2e-no-docker full.test '
* To re-gen, run 'AZTEC_GENERATE_TEST_DATA=1 FAKE_PROOFS=1 yarn test:e2e full.test '
*/
export function updateProtocolCircuitSampleInputs(circuitName: string, value: string) {
const logger = createConsoleLogger('aztec:testing:test_data');
Expand Down
Loading