Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ledgerhq/testing
Write unit and integration tests for Ledger Wallet apps.
Passed 21 of 22 test cases with the skill, and 8 of 22 without it.
and 18 more in the full report
13 fixed8 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write the import statements for a desktop component test needing MSW server mocks and React Testing Library utilities.
| Checked | Without skill | With skill |
|---|---|---|
| Imports render utilities from tests/testSetup | Missed | Passed |
| Imports MSW server from tests/server | Missed | Passed |
The instructions your model reads when the skill loads.
Jest + MSW + React Testing Library (Desktop) / React Native Testing Library (Mobile) ❌ E2E tests → Use
e2eskill
toBeVisible() over toBeInTheDocument() — Always. toBeInTheDocument only checks DOM presence; elements can be hidden. Use toBeInTheDocument only when testing explicitly hidden elements.rg the codebase. If it exists, import it. If your new mock is reusable (2+ files), put it in a shared location.it("should <behavior> when <condition>").getByRole > getByLabelText > getByText > getByTestId (last resort).overriddenFeatureFlags in initialState.settings.genAccount() from @ledgerhq/ledger-wallet-framework/mocks/account, getCryptoCurrencyById() from @ledgerhq/live-common/currencies. Never recreate account/currency data from scratch.pnpm test:jest "filename" # Run specific file
pnpm test:jest # Run all tests
pnpm test:jest --coverage # Coverage report
# Coin modules (libs/coin-modules)
pnpm coin:<name> test # Unit tests
pnpm coin:<name> test "filename" # Specific file
pnpm coin:<name> test-integ # Integration tests (slow)
| Platform | Render Import | MSW Server |
|---|---|---|
| Desktop | tests/testSetup | tests/server.ts |
| Mobile | @tests/test-renderer | __tests__/server.ts |
test cases passed, vs 8 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.