vitest-environment-nuxt
An in-development vitest environment with support for testing code that needs a Nuxt runtime environment.
An in-development vitest environment with support for testing code that needs a Nuxt runtime environment
⚠️ This library is in active development and you should pin the patch version before using.
Quick Start
First install vitest-environment-nuxt
:
yarn add --dev vitest-environment-nuxt
npm i -D vitest-environment-nuxt
pnpm add -D vitest-environment-nuxt
💻 Development
- Clone this repository
- Enable Corepack using
corepack enable
(use npm i -g corepack
for Node.js < 16.10) - Install dependencies using
pnpm install
- Stub the library using
pnpm dev:prepare
- Run interactive tests using
pnpm test
License
Made with ❤️
Published under MIT License.