Skip to content

Commit b620083

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

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RpcTransport } from 'ox'
1+
import { Hex, RpcTransport } from 'ox'
22
import { createServer } from 'prool'
33
import { type AnvilParameters, anvil } from 'prool/instances'
44

@@ -39,7 +39,8 @@ function defineAnvil(parameters: AnvilParameters) {
3939
config,
4040
request: transport.request,
4141
async restart() {
42-
await fetch(`${rpcUrl}/restart`)
42+
await fetch(`${rpcUrl}/stop`)
43+
await fetch(`${rpcUrl}/start`)
4344
},
4445
rpcUrl,
4546
async start() {

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)