Skip to content

Commit

Permalink
instantiate test-validator with --prover-run-mode test flag in js/com…
Browse files Browse the repository at this point in the history
…poressed-token tests
  • Loading branch information
sergeytimoshin committed Oct 13, 2024
1 parent 2e9281f commit b1af93f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion cli/src/utils/initTestEnv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,12 @@ export async function initTestEnv({
const config = getConfig();
config.proverUrl = `http://127.0.0.1:${proverPort}`;
setConfig(config);
await startProver(proverPort, proveCompressedAccounts, proveNewAddresses, proverRunMode);
await startProver(
proverPort,
proveCompressedAccounts,
proveNewAddresses,
proverRunMode,
);
}
}

Expand Down
2 changes: 1 addition & 1 deletion js/compressed-token/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test-all": "vitest run",
"test:unit:all": "EXCLUDE_E2E=true vitest run",
"test-all:verbose": "vitest run --reporter=verbose",
"test-validator": "./../../cli/test_bin/run test-validator",
"test-validator": "./../../cli/test_bin/run test-validator --prover-run-mode test",
"test:e2e:create-mint": "pnpm test-validator && vitest run tests/e2e/create-mint.test.ts",
"test:e2e:create-token-pool": "pnpm test-validator && vitest run tests/e2e/create-token-pool.test.ts",
"test:e2e:mint-to": "pnpm test-validator && vitest run tests/e2e/mint-to.test.ts --reporter=verbose",
Expand Down

0 comments on commit b1af93f

Please sign in to comment.