Skip to content

Commit 289ac82

Browse files
committed
chore: up prool
1 parent 3454f49 commit 289ac82

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"ethers": "^6.13.2",
6464
"fs-extra": "^11.2.0",
6565
"knip": "^5.27.2",
66-
"prool": "^0.0.17",
66+
"prool": "^0.0.20",
6767
"rimraf": "^5.0.10",
6868
"sherif": "^0.11.0",
6969
"simple-git-hooks": "^2.11.1",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/anvil.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ function getEnv(key: string, fallback: string): string {
2323

2424
function defineAnvil(parameters: AnvilParameters) {
2525
const { port } = parameters
26-
const poolId =
27-
Number(process.env.VITEST_POOL_ID ?? 1) *
28-
Number(process.env.VITEST_SHARD_ID ?? 1)
26+
const poolId = Math.floor(Math.random() * 10000)
2927
const rpcUrl = `http://127.0.0.1:${port}/${poolId}`
3028

3129
const config = {

test/setup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ beforeEach(() => {
1717
afterAll(async () => {
1818
vi.restoreAllMocks()
1919

20-
// Reset the anvil instances to the same state it was in before the tests started.
2120
await Promise.all(
2221
Object.values(instances).map((instance) => instance.restart()),
2322
)

0 commit comments

Comments
 (0)