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.

Vitest reference: API, configuration and mocks v1.0.0

Use this resource to answer Vitest API or configuration questions and write matching tests

New

  • 365 downloads
  • 123 likes
  • 153 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install vitest-api-config-reference

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 consults the Vitest references that fit the need: test API, expect, hooks, mocking with vi, environments, projects, coverage and concurrency. For Studio tests, it starts with the skills dedicated to that area.

Mostly picked by

Updated November 2, 2026

Card for the “Vitest reference: API, configuration and mocks” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • references/core-config.md and core-cli.md: configuration and command line
  • references/core-expect.md and core-describe.md: assertions and test organization
  • references/advanced-vi.md: mocks, spies and fake timers

Good fit for

  • You need to mock a function or a clock in a Vitest test
  • You configure coverage or test projects

Not for

    Tags

    • Vitest
    • testing
    • mocks
    • coverage
    • configuration

    About

    You say

    “Set up fake timers in this Vitest test to check the retry delay.”

    Card for the “Vitest reference: API, configuration and mocks” skill

    Skill published by supabase under the Apache-2.0 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 answer Vitest API or configuration questions and write matching tests
    3. Review and adjust the result

    Content preview

    Files

    • GENERATION.md0.1 KB
    • LICENSE11.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/advanced-environments.md4.5 KB
    • references/advanced-projects.md5.2 KB
    • references/advanced-type-testing.md4.7 KB
    • references/advanced-vi.md4.7 KB
    • references/core-cli.md3.5 KB
    • references/core-config.md3.6 KB
    • references/core-describe.md3.6 KB
    • references/core-expect.md4.8 KB
    • references/core-hooks.md4.6 KB
    • references/core-test-api.md4.1 KB
    • references/features-concurrency.md4.4 KB
    • references/features-context.md4.6 KB
    • references/features-coverage.md3.6 KB
    • references/features-filtering.md3.7 KB
    • references/features-mocking.md4.9 KB
    • references/features-snapshots.md3.7 KB
    • SKILL.md4.3 KB

    Origin and licence

    Listed unmodified

    Author
    supabase
    Source
    github.com/supabase/supabase/tree/9eaae4cd2cf8e67f9aeadab044e9a14429331c13/.agents/skills/vitest
    Licence
    Apache-2.0

    Notice

    « vitest » (supabase, Apache-2.0) 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.