Files
Spencer StockandGitHub 12dcbf335d Add E2E Test Playground with SCW Release Test Suite (#217)
* initial playground

* fully featured for local use

* use npm latest import

* better abstractions

* refactor(e2e-test): remove redundant logging and unused connection helpers

- Remove redundant addLog calls from test files (status updates already provide this info)
- Remove unused ensureConnection helper from useConnectionState
- Clean up imports and types across test framework
- Update documentation to reflect simplified logging approach

* skipmodal

* clean up feedback abstraction

* Add SCW release test suite with wallet URL configuration

* Fix lint errors

* Revert changes outside examples directory

* remove useless docs

* fix ci

* clean up

* fix ci

* Revert formatting changes (import reordering) unrelated to e2e test suite

* Remove backup file from e2e test suite

* file wide any exemption

* fix CI

* remove unnecessary configs

* udpate example

* fix ci

* remove weird placeholders

* remove unwanted diff

* Fix CI failures from formatter and pay test expectations.

Update next.config formatting to satisfy Biome and align pay unit tests with the new translatePaymentToSendCalls argument shape.

Made-with: Cursor

* Restore pay dataSuffix test coverage to match master.

Re-add the invalid dataSuffix unit test and translatePaymentToSendCalls expectation removed by an earlier cleanup commit, eliminating unintended SDK test drift from this PR.

Made-with: Cursor

* Fix SDK source reload and remove noExplicitAny suppressions.

Ensure e2e SDK source toggles actually reload SDK/provider state and replace old noExplicitAny biome-ignore workarounds in RpcMethodCard with explicit narrowing for request/response data.

Made-with: Cursor
2026-03-26 12:14:49 -06:00

42 lines
1.2 KiB
JSON

{
"name": "sdk-playground",
"version": "0.0.1",
"scripts": {
"build": "next build",
"clean": "rm -rf .next && rm -rf node_modules",
"dev": "next dev --port 3001",
"export": "yarn build && touch ./out/.nojekyll",
"lint": "biome lint .",
"format": "biome format . --write",
"format:check": "biome check . --formatter-enabled=true --linter-enabled=false --organize-imports-enabled=false",
"start": "next start",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@base-org/account": "workspace:*",
"@base-org/account-npm": "npm:@base-org/account@latest",
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/react": "^2.8.0",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@metamask/eth-sig-util": "^7.0.0",
"@types/acorn": "^4.0.6",
"acorn": "^8.15.0",
"framer-motion": "^10.13.1",
"next": "^14.2.10",
"qrcode.react": "^4.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "7.45.2",
"viem": "^2.27.2"
},
"devDependencies": {
"@testing-library/react": "^16.2.0",
"@types/qrcode.react": "^3.0.0",
"@types/react": "18.2.15",
"typescript": "^5.1.6",
"vitest": "^3.0.4"
}
}