Skip to content

Commit

Permalink
no wait on
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Oct 6, 2024
1 parent 4bc6c0d commit 4486936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
"release:check": "changeset status --verbose --since=origin/main",
"release:publish": "pnpm install && pnpm build && changeset publish",
"release:version": "changeset version && pnpm install --lockfile-only && pnpm run changelog:generate",
"test": "pnpm run test:start-anvil & wait-on tcp:8556 && pnpm run --recursive test",
"test:ci": "pnpm run test:start-anvil & wait-on tcp:8556 && pnpm run --recursive test:ci",
"test:start-anvil": "tsx test-setup/startAnvil.ts",
"test": "tsx test-setup/startAnvil.ts & pnpm run --recursive test",
"test:ci": "tsx test-setup/startAnvil.ts & pnpm run --recursive test:ci",
"type-bench": "pnpm --filter ./test/ts-benchmarks bench",
"type-stats-repo": "attest stats packages/*",
"vercel:prepare": "(forge --version || pnpm foundryup) && ln -sf /vercel/.foundry/bin/* node_modules/.bin/ && forge --version"
Expand Down
11 changes: 0 additions & 11 deletions test-setup/startAnvil.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
import { startProxy as startAnvilProxy } from "@viem/anvil";
import { anvilHost, anvilPort } from "./common";
import { execa } from "execa";
import { fileURLToPath } from "node:url";
import path from "node:path";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

console.log("building mock game");
await execa("pnpm", ["run", "build"], {
cwd: `${__dirname}/../test/mock-game-contracts`,
});

console.log("starting anvil proxy");
await startAnvilProxy({ host: anvilHost, port: anvilPort });
Expand Down

0 comments on commit 4486936

Please sign in to comment.