vite-web-test-runner-plugin
v0.1.0
Published
<p align="center"> <img src="https://img.shields.io/maintenance/yes/2021.svg?style=for-the-badge" alt="maintained"> <a href="https://github.com/material-svelte/vite-web-test-runner-plugin/blob/main/LICENSE.md"><img src="https://img.shields.io/npm/l/vi
Downloads
783
Readme
vite-web-test-runner-plugin
A @web/test-runner plugin to test Vite-powered projects. This plugin automatically connects to the Vite project in the current directory, loads the project configuration, and the uses your already-configured Vite build pipeline to build each test file.
Usage
npm install vite-web-test-runner-plugin --save-dev
// web-test-runner.config.js
const vite = require("vite-web-test-runner-plugin");
module.exports = {
plugins: [vite()],
};
Options
None! If you need to configure Vite, you can do so in your project vite.config.js
file.