-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: trigger release of the packages (#15405)
- Loading branch information
Barthélémy Ledoux
authored
Mar 10, 2021
1 parent
5fd91bd
commit 1ce5755
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# ⚡️ + 🌲 Cypress Component Testing w/ Vite | ||
|
||
> **Note** this package is not meant to be used outside of cypress component testing. | ||
To install vite in you component testing environment, | ||
1. Install it `yarn add @cypress/vite-dev-server` | ||
2. Add it to `cypress/plugins/index.js` | ||
|
||
```js | ||
import { startDevServer } from '@cypress/vite-dev-server' | ||
|
||
module.exports = (on, config) => { | ||
on('dev-server:start', async (options) => startDevServer({ options })) | ||
|
||
return config | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters