@cloudflare/vitest-pool-workers
TypeScript icon, indicating that this package has built-in type declarations

0.4.6 • Public • Published

@cloudflare/vitest-pool-workers

The Workers Vitest integration allows you to write Vitest tests that run inside the Workers runtime. Refer to the documentation and examples for more information.

  • ✅ Supports both unit tests and integration tests
  • 📚 Provides direct access to Workers runtime APIs and bindings
  • 📦 Implements isolated per-test storage
  • 🔥 Runs tests fully-locally using Miniflare
  • ⚡️ Leverages Vitest's hot-module reloading for near instant reruns
  • ↩️ Provides a declarative interface for mocking outbound requests
  • 🧩 Supports projects with multiple Workers

/@cloudflare/vitest-pool-workers/

    Package Sidebar

    Install

    npm i @cloudflare/vitest-pool-workers

    Weekly Downloads

    70,727

    Version

    0.4.6

    License

    MIT

    Unpacked Size

    368 kB

    Total Files

    57

    Last publish

    Collaborators

    • lerwincf
    • lbarthonet
    • cf-media-manager
    • jacobbednarz
    • celso
    • cf-radar
    • dash_service_account
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • jsteinberger
    • jasnell
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga