npm.io
1.0.10 • Published 3 years agoCLI

vite-e2e-cypress

Licence
ISC
Version
1.0.10
Deps
4
Size
4 kB
Vulns
15
Weekly
0
Stars
1

vite-e2e-cypress

Run cypress e2e tests within your Vite project.

Install

npm install vite-e2e-cypress --save-dev

Usage

Run all spec files

vite-cy-e2e

View all options

vite-cy-e2e --help

Running particular spec files

vite-cy-e2e --headless -s '**/*.spec.js'

Specify vite config file path. This example is also the default value.

vite-cy-e2e -c ./vite.config.ts

Specify vite root path. This example is also the default value.

vite-cy-e2e -r .

Run in different mode (default to production)

vite-cy-e2e -m development

Run dev server instead of build the app and run preview server. Might be helpful for local development to reflect code change immediately without restarting cypress.

vite-cy-e2e -d

Keywords