Skip to content

Commit aa4652c

Browse files
committed
wip: migrating to ENSNode
1 parent 4021d51 commit aa4652c

6 files changed

Lines changed: 9 additions & 202 deletions

File tree

ens-test-env.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030
command: `pnpm wait-on http://localhost:8788 && ${
3131
process.env.CI
3232
? `pnpm playwright test --project=stateless --shard=${process.env.PLAYWRIGHT_SHARD}/${process.env.PLAYWRIGHT_TOTAL}`
33-
: 'pnpm playwright'
33+
: 'pnpm playwright test'
3434
}`,
3535
name: 'playwright',
3636
prefixColor: 'yellow.bold',

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"test": "vitest run",
3232
"test:watch": "vitest",
3333
"test:coverage": "vitest run --coverage --typecheck",
34-
"e2e:install": "npx playwright install chromium",
35-
"e2e": "npx playwright test --project=stateless",
34+
"e2e:install": "playwright install chromium",
35+
"e2e": "playwright test --project=stateless",
3636
"e2e:stateful": "playwright test --project=stateful",
3737
"e2e:ci": "E2E=true CI=true STABLE_MODE=true SLOW_MODE=true pnpm tenv start --extra-time 11368000",
3838
"postinstall": "husky install",
@@ -285,8 +285,7 @@
285285
"node-forge@1.3.1": "patches/node-forge@1.3.1.patch",
286286
"react-confetti@6.1.0": "patches/react-confetti@6.1.0.patch",
287287
"hardhat-deploy@0.12.4": "patches/hardhat-deploy@0.12.4.patch",
288-
"@nomicfoundation/hardhat-viem@2.0.3": "patches/@nomicfoundation%2Fhardhat-viem@2.0.3.patch",
289-
"@ensdomains/ens-test-env@0.6.0": "patches/@ensdomains__ens-test-env@0.6.0.patch"
288+
"@nomicfoundation/hardhat-viem@2.0.3": "patches/@nomicfoundation%2Fhardhat-viem@2.0.3.patch"
290289
}
291290
},
292291
"packageManager": "pnpm@9.3.0"

patches/@ensdomains__ens-test-env@0.6.0.patch

Lines changed: 0 additions & 16 deletions
This file was deleted.

playwright/fixtures/subgraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const waitForSubgraph = () => async () => {
2626
const anvilBlockNumbers: number[] = []
2727
do {
2828
await new Promise((resolve) => setTimeout(resolve, 500))
29-
const client = new GraphQLClient('http://localhost:8000/subgraphs/name/graphprotocol/ens')
29+
const client = new GraphQLClient('http://localhost:42069/subgraph')
3030
const res = await client.request<{_meta: {block: {number: number}}}>(query)
3131

3232
anvilBlockNumbers.push(res._meta.block.number)

0 commit comments

Comments
 (0)