Skip to content

Commit

Permalink
⚡️ test(metamask): Use locally deployed test dapp (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception authored Nov 29, 2023
1 parent 66811d2 commit 19f51dc
Show file tree
Hide file tree
Showing 11 changed files with 326 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
- name: Build project
run: pnpm run build

- name: Serve MetaMask Test Dapp
run: |
pnpm run serve:test-dapp &
- name: Build cache
run: |
xvfb-run pnpm run build:cache
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint:check": "biome check . --verbose",
"lint:unsafe": "biome check . --apply-unsafe",
"prepare": "husky install",
"serve:test-dapp": "serve node_modules/@metamask/test-dapp/dist -p 9999",
"sort-package-json": "sort-package-json 'package.json' '{packages,wallets,examples}/*/package.json'",
"sort-package-json:check": "sort-package-json 'package.json' '{packages,wallets,examples}/*/package.json' --check",
"test": "turbo test",
Expand All @@ -21,9 +22,11 @@
},
"devDependencies": {
"@biomejs/biome": "1.2.2",
"@metamask/test-dapp": "^8.0.0",
"commitlint-config-gitmoji": "^2.3.1",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"serve": "^14.2.1",
"sort-package-json": "^2.5.1",
"turbo": "^1.10.14"
},
Expand Down
Loading

0 comments on commit 19f51dc

Please sign in to comment.