7.0.2 • Published 11 months ago

@gasket/plugin-vitest v7.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@gasket/plugin-vitest

Creates a vitest based testing environment for your Gasket application.

Installation

This plugin is only used by presets for create-gasket-app and is not installed for apps.

Usage

When you create a new Gasket application that is configured with the vitest plugin it will prepare it with a vitest based testing environment. It will add the following scripts to the package.json:

  • npm test, Runs all test files that include *.test. or *.spec..
  • npm run test:watch Same as npm test but now watches your tests and automatically re-runs the tests when changes are detected.
  • npm run test:coverage Same as npm test, but generates coverage information for all the files matching the test.coverage options in the vitest.config.js file.

License

MIT

7.0.2

11 months ago

7.0.1

11 months ago

7.0.0

11 months ago