Skip to content

codeborne/vite-web-test-runner-plugin

This branch is 1 commit ahead of material-svelte/vite-web-test-runner-plugin:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

df44ba8 · Aug 29, 2022

History

34 Commits
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 29, 2021
Jun 29, 2021
Mar 26, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Jun 30, 2021
Aug 29, 2022

Repository files navigation

maintained license npm package


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.

Notes

  • some frameworks might require a custom testRunnerHtml (eg svelte and react)
  • vue is currently defunct

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.8%
  • Shell 10.2%