Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Vue 3 and Pinia unit tests with Vitest v1.0.0

Use this resource to write and review Vue 3 and Pinia unit tests with Vitest

New

  • 328 downloads
  • 168 likes
  • 138 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install vue-pinia-unit-tests

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent picks the narrowest test type, sets up Pinia with createTestingPinia or an initial state, then drives the component through its public inputs. It asserts observable outputs rather than implementation details.

Mostly picked by

Updated November 2, 2026

Card for the “Vue 3 and Pinia unit tests with Vitest” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: workflow, core rules and Pinia and Vue Test Utils patterns
  • references/pinia-patterns.md: initial state, plugins and getter overrides

Good fit for

  • A Vue component depends on a Pinia store that is hard to mock
  • You want tests that survive an internal refactoring

Not for

    Tags

    • vue
    • pinia
    • vitest
    • tests
    • unit testing

    About

    You say

    “Write the tests for the ProductCard component with a pre-filled Pinia store.”

    Card for the “Vue 3 and Pinia unit tests with Vitest” skill

    Skill published by github under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write and review Vue 3 and Pinia unit tests with Vitest
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/pinia-patterns.md1.8 KB
    • SKILL.md6.9 KB

    Origin and licence

    Listed unmodified

    Author
    github
    Source
    github.com/github/awesome-copilot/tree/0fe6545b950671641b2b14b44eb56678fea6c6b4/skills/unit-test-vue-pinia
    Licence
    MIT

    Notice

    « unit-test-vue-pinia » (github, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.