Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Vitest browser mode runs in headless Chromium with explicit automatic input and
first browser run: cache miss writes dist/result.json

```
$ vitest run
$ VITEST_BROWSER_DEBUG=false vitest run

RUN v<version> <workspace>

Expand Down Expand Up @@ -35,7 +35,7 @@ remove the generated output so restoration is observable
unchanged inputs: cache hit restores dist/result.json

```
$ vitest run ◉ cache hit, replaying
$ VITEST_BROWSER_DEBUG=false vitest run ◉ cache hit, replaying

RUN v<version> <workspace>

Expand Down Expand Up @@ -66,7 +66,7 @@ modify a module loaded by the browser
automatic input changed: cache miss reruns the browser test

```
$ vitest run ○ cache miss: 'src/greeting.js' modified, executing
$ VITEST_BROWSER_DEBUG=false vitest run ○ cache miss: 'src/greeting.js' modified, executing

RUN v<version> <workspace>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"tasks": {
"test": {
"command": "vitest run",
// "false" silences the browser server's Vite logger, which otherwise prints
// timing-dependent "[optimizer] ..." messages on slow machines.
"command": "VITEST_BROWSER_DEBUG=false vitest run",
"cache": {
"input": [{ "auto": true }],
// TODO: Add @voidzero-dev/vite-task-client and have Vitest report this path as ignored.
Expand Down
Loading