-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-eco-ci-6
- Loading branch information
Showing
114 changed files
with
1,998 additions
and
541 deletions.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@vitest/monorepo", | ||
"type": "module", | ||
"version": "2.1.4", | ||
"version": "2.2.0-beta.1", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"description": "Next generation testing framework powered by Vite", | ||
|
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,33 +1,19 @@ | ||
# @vitest/browser | ||
|
||
Browser runner for Vitest. | ||
[Browser runner](https://vitest.dev/guide/browser/) for Vitest. | ||
|
||
> ⚠️ This package is **experimental**. While this package will be released along with other packages, it will not follow SemVer for breaking changes until we mark it as ready. | ||
## Progress | ||
|
||
Current Status: **Working in progress** | ||
|
||
- [x] Init package and integration | ||
- [x] Stub node packages for Vitest runtime | ||
- [x] Works in development mode | ||
- [x] Better log in terminal | ||
- [x] Fulfill tests (using Browser only APIs, Vue and React components) | ||
- [ ] Show progress and error on the browser page | ||
- [x] Headless mode in CI | ||
- [x] Docs | ||
|
||
Related PRs | ||
|
||
- [#1302](https://github.com/vitest-dev/vitest/pull/1302) | ||
|
||
## Development Setup | ||
|
||
At project root: | ||
|
||
```bash | ||
pnpm dev | ||
|
||
cd test/browser | ||
pnpm vitest --browser | ||
# runs relevant tests for the browser mode | ||
# useful to confirm everything works fine | ||
pnpm test | ||
# runs tests as the browser mode | ||
# useful during development | ||
pnpm test-fixtures | ||
``` |
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
Oops, something went wrong.