To contribute to Nuxt Test Utils, you need to set up a local environment.
- Fork the
nuxt/test-utils
repository to your own GitHub account and then clone it to your local device. - Enable Corepack to have access to
pnpm
corepack enable
- Run
pnpm install
to install the dependencies with pnpm:pnpm install && pnpm playwright install chromium
- Activate the passive development system
pnpm dev:prepare
- Check out a branch where you can work and commit your changes:
git checkout -b my-new-branch
Then, test your changes against the examples before submitting a pull request.
pnpm prepack
pnpm test:examples
pnpm dev:prepare
Read more in the Nuxt Contribution Guide.