Skip to content

fix(vitest): don't fail if the working directory starts with a lowercase drive letter #11893

fix(vitest): don't fail if the working directory starts with a lowercase drive letter

fix(vitest): don't fail if the working directory starts with a lowercase drive letter #11893

Triggered via pull request October 24, 2024 13:32
Status Cancelled
Total duration 21m 32s
Artifacts

ci.yml

on: pull_request
Diff: node-latest, ubuntu-latest
25s
Diff: node-latest, ubuntu-latest
Lint: node-latest, ubuntu-latest
2m 33s
Lint: node-latest, ubuntu-latest
Matrix: test-browser
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 1 warning
test/reporter.test.ts > summary: test/benchmark/test/reporter.test.ts#L9
TypeError: Cannot read properties of undefined (reading 'replaceAll') ❯ test/reporter.test.ts:9:49
test/reporter.test.ts > non-tty: test/benchmark/test/reporter.test.ts#L28
AssertionError: expected [ '' ] to match object [ StringContaining{…}, …(9) ] - Expected + Received Array [ - StringContaining "✓ base.bench.ts > sort", - StringContaining " name", - StringContaining " · normal", - StringContaining " · reverse", - StringContaining " ✓ base.bench.ts > timeout", - StringContaining " name", - StringContaining " · timeout100", - StringContaining " · timeout75", - StringContaining " · timeout50", - StringContaining " · timeout25", + "", ] ❯ test/reporter.test.ts:28:17
test/reporter.test.ts > includeSamples false: test/benchmark/test/reporter.test.ts#L48
AssertionError: expected undefined to deeply equal [] - Expected: Array [] + Received: undefined ❯ test/reporter.test.ts:48:27
Build&Test: node-20, windows-latest
Process completed with exit code 1.
specs/benchmark.test.ts > benchmark: test/browser/specs/benchmark.test.ts#L6
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/benchmark.test.ts:6:25
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected 'filter: test/basic.test.ts\ninclude:…' to be '' // Object.is equality - Expected + Received + filter: test/basic.test.ts + include: test/**.test.{ts,js,tsx} + exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.* + + No test files found, exiting with code 1 + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected 'filter: test/basic.test.ts\ninclude:…' to be '' // Object.is equality - Expected + Received + filter: test/basic.test.ts + include: test/**.test.{ts,js,tsx} + exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.* + + No test files found, exiting with code 1 + ❯ specs/fix-4686.test.ts:14:18
specs/locators.test.ts > locators work correctly: test/browser/specs/locators.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/locators.test.ts:10:18
specs/mocking.test.ts > mocking works correctly - isolated true: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking works correctly - isolated false: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking dependency correctly invalidates it on rerun: test/browser/specs/mocking.test.ts#L41
Error: Timeout when waiting for error "Waiting for file changes...". Received: stdout: DEV v2.1.3 D:/a/vitest/vitest/test/browser/fixtures/mocking-watch Browser runner started by playwright at http://localhost:63315/ ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ Vitest caught 1 unhandled error during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Test Files no tests Tests no tests Errors 1 error Start at 13:36:59 Duration 4.21s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) FAIL Tests failed. Watching for file changes... press h to show help, press q to quit stderr: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ TypeError: __vitest_browser_runner__.runTests is not a function ❯ specs/mocking.test.ts:41:16
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L34
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:34:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L44
AssertionError: expected '\n RUN v2.1.3 D:/a/vitest/vitest/tes…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.1.3 D:/a/vitest/vitest/test/browser + Browser runner started by playwright at http://localhost:63315/ + + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 3 unhandled errors during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Test Files no tests + Tests no tests + Errors 3 errors + Start at 13:36:32 + Duration 7.59s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:44:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L51
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/runner.test.ts:51:20
specs/benchmark.test.ts > benchmark: test/browser/specs/benchmark.test.ts#L6
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/benchmark.test.ts:6:25
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected 'filter: test/basic.test.ts\ninclude:…' to be '' // Object.is equality - Expected + Received + filter: test/basic.test.ts + include: test/**.test.{ts,js,tsx} + exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.* + + No test files found, exiting with code 1 + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected 'filter: test/basic.test.ts\ninclude:…' to be '' // Object.is equality - Expected + Received + filter: test/basic.test.ts + include: test/**.test.{ts,js,tsx} + exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.* + + No test files found, exiting with code 1 + ❯ specs/fix-4686.test.ts:14:18
specs/locators.test.ts > locators work correctly: test/browser/specs/locators.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/locators.test.ts:10:18
specs/mocking.test.ts > mocking works correctly - isolated true: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking works correctly - isolated false: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking dependency correctly invalidates it on rerun: test/browser/specs/mocking.test.ts#L41
Error: Timeout when waiting for error "Waiting for file changes...". Received: stdout: DEV v2.1.3 D:/a/vitest/vitest/test/browser/fixtures/mocking-watch Browser runner started by playwright at http://localhost:63315/ ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ Vitest caught 1 unhandled error during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Test Files no tests Tests no tests Errors 1 error Start at 13:39:44 Duration 864ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) FAIL Tests failed. Watching for file changes... press h to show help, press q to quit stderr: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ TypeError: __vitest_browser_runner__.runTests is not a function ❯ specs/mocking.test.ts:41:16
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L34
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:34:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L44
AssertionError: expected '\n RUN v2.1.3 D:/a/vitest/vitest/tes…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.1.3 D:/a/vitest/vitest/test/browser + Browser runner started by playwright at http://localhost:63315/ + + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 3 unhandled errors during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Test Files no tests + Tests no tests + Errors 3 errors + Start at 13:37:35 + Duration 3.15s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:44:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L51
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function + + ❯ specs/runner.test.ts:51:20
Browser: webkit, windows-latest
Canceling since a higher priority waiting request for 'ci-6779' exists
specs/benchmark.test.ts > benchmark: test/browser/specs/benchmark.test.ts#L6
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ❯ specs/benchmark.test.ts:6:25
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected 'filter: test/basic.test.ts\ninclude:…' to be '' // Object.is equality - Expected + Received + filter: test/basic.test.ts + include: test/**.test.{ts,js,tsx} + exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.* + + No test files found, exiting with code 1 + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected 'filter: test/basic.test.ts\ninclude:…' to be '' // Object.is equality - Expected + Received + filter: test/basic.test.ts + include: test/**.test.{ts,js,tsx} + exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**, **/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.* + + No test files found, exiting with code 1 + ❯ specs/fix-4686.test.ts:14:18
specs/locators.test.ts > locators work correctly: test/browser/specs/locators.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ❯ specs/locators.test.ts:10:18
specs/mocking.test.ts > mocking works correctly - isolated true: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking works correctly - isolated false: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking dependency correctly invalidates it on rerun: test/browser/specs/mocking.test.ts#L41
Error: Timeout when waiting for error "Waiting for file changes...". Received: stdout: DEV v2.1.3 D:/a/vitest/vitest/test/browser/fixtures/mocking-watch Browser runner started by playwright at http://localhost:63315/ ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ Vitest caught 1 unhandled error during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Test Files no tests Tests no tests Errors 1 error Start at 13:35:56 Duration 867ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) FAIL Tests failed. Watching for file changes... press h to show help, press q to quit stderr: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) ❯ specs/mocking.test.ts:41:16
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L34
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:34:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L44
AssertionError: expected '\n RUN v2.1.3 D:/a/vitest/vitest/tes…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.1.3 D:/a/vitest/vitest/test/browser + Browser runner started by playwright at http://localhost:63315/ + + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 3 unhandled errors during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Test Files no tests + Tests no tests + Errors 3 errors + Start at 13:35:48 + Duration 2.37s (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:44:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L51
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯\nTyp…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + TypeError: __vitest_browser_runner__.runTests is not a function. (In '__vitest_browser_runner__.runTests(__vitest_browser_runner__.runningFiles)', '__vitest_browser_runner__.runTests' is undefined) + + ❯ specs/runner.test.ts:51:20
Browser: webkit, windows-latest
Runner GitHub Actions 16 did not respond to a cancelation request with 00:05:00.