fix(browser): fix matchers.d.ts #12535
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
7s
Lint: node-latest, ubuntu-latest
2m 12s
Matrix: test-browser
Matrix: test
Annotations
12 errors
Lint: node-latest, ubuntu-latest:
test/dts-playwright/src/basic.test.ts#L3
Expected "@vitest/browser/context" to come before "vitest"
|
Lint: node-latest, ubuntu-latest:
test/dts-playwright/src/basic.test.ts#L3
Expected "page" to come before "userEvent"
|
Lint: node-latest, ubuntu-latest:
test/dts-playwright/src/basic.test.ts#L3
Strings must use singlequote
|
Lint: node-latest, ubuntu-latest:
test/dts-playwright/src/basic.test.ts#L5
Strings must use singlequote
|
|
|
Lint: node-latest, ubuntu-latest:
test/dts-playwright/tsconfig.json#L4
Expected object keys to be in specified order. 'target' should be before 'noEmit'
|
Lint: node-latest, ubuntu-latest
Process completed with exit code 1.
|
specs/mocking.test.ts > mocking works correctly - isolated true:
test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality
- Expected
+ Received
+
+ ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
+ Error: Failed to create session.
+ binary is not a Firefox executable
+ ❯ startWebDriverSession ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/utils.js:69:15
+ ❯ processTicksAndRejections ../../node:internal/process/task_queues:95:5
+ ❯ Function.newSession ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/index.js:19:45
+ ❯ remote ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/index.js:46:22
+ ❯ WebdriverBrowserProvider.openBrowser ../../../../packages/browser/dist/webdriver-D0J8HSNX.js:210:20
+ ❯ WebdriverBrowserProvider.openPage ../../../../packages/browser/dist/webdriver-D0J8HSNX.js:247:29
+ ❯ executeTests ../../../../packages/browser/dist/index.js:2643:5
+ ❯ runWorkspaceTests ../../../../packages/browser/dist/index.js:2661:7
+
+
+
❯ 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⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality
- Expected
+ Received
+
+ ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
+ Error: Failed to create session.
+ binary is not a Firefox executable
+ ❯ startWebDriverSession ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/utils.js:69:15
+ ❯ processTicksAndRejections ../../node:internal/process/task_queues:95:5
+ ❯ Function.newSession ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/index.js:19:45
+ ❯ remote ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/index.js:46:22
+ ❯ WebdriverBrowserProvider.openBrowser ../../../../packages/browser/dist/webdriver-D0J8HSNX.js:210:20
+ ❯ WebdriverBrowserProvider.openPage ../../../../packages/browser/dist/webdriver-D0J8HSNX.js:247:29
+ ❯ executeTests ../../../../packages/browser/dist/index.js:2643:5
+ ❯ runWorkspaceTests ../../../../packages/browser/dist/index.js:2661:7
+
+
+
❯ 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.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser/fixtures/mocking-watch
Port 63315 is in use, trying another one...
Port 63316 is in use, trying another one...
⎯⎯⎯⎯⎯⎯ 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 09:05:41
Duration 256ms (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:
⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
Error: Failed to create session.
binary is not a Firefox executable
❯ startWebDriverSession ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/utils.js:69:15
❯ processTicksAndRejections ../../node:internal/process/task_queues:95:5
❯ Function.newSession ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriver/build/index.js:19:45
❯ remote ../../../../node_modules/.pnpm/[email protected]/node_modules/webdriverio/build/index.js:46:22
❯ WebdriverBrowserProvider.openBrowser ../../../../packages/browser/dist/webdriver-D0J8HSNX.js:210:20
❯ WebdriverBrowserProvider.openPage ../../../../packages/browser/dist/webdriver-D0J8HSNX.js:247:29
❯ executeTests ../../../../packages/browser/dist/index.js:2643:5
❯ runWorkspaceTests ../../../../packages/browser/dist/index.js:2661:7
❯ specs/mocking.test.ts:41:16
|
Browser: firefox, macos-latest
Process completed with exit code 1.
|