Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage reporting fails when running in browser with webdriverio provider #558

Closed
4 tasks done
glektarssza opened this issue Dec 16, 2024 · 4 comments
Closed
4 tasks done

Comments

@glektarssza
Copy link

Describe the bug

When running unit tests inside a browser using the webdriverio provider, coverage cannot be reported. Instead an error is thrown:

⎯⎯⎯⎯⎯⎯⎯ Coverage Error ⎯⎯⎯⎯⎯⎯⎯
Error: CDP is not supported by the provider "webdriverio".
 ❯ Receiver.receiverOnMessage node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1220:20
 ❯ Receiver.dataMessage node_modules/.pnpm/[email protected]/node_modules/ws/lib/receiver.js:596:14
 ❯ Receiver.getData node_modules/.pnpm/[email protected]/node_modules/ws/lib/receiver.js:496:10

Reproduction

Issue can be reproduced using commit 1c5562f of glektarssza/webcraft.

Output

[INFO 7:51:51 AM] [v1.8.4] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 7:51:54 AM] [API] Running Vitest v2.1.8 (webcraft/vitest.workspace.ts) with [email protected]: /Users/roblo/.local/state/fnm_multishells/30256_1734357749965/bin/node 
[INFO 7:51:57 AM] [API] Vitest v2.1.8 (webcraft/vitest.workspace.ts) child process 78847 created
[INFO 7:51:57 AM] [API] Watching /Users/roblo/repositories/github/glektarssza/webcraft/vitest.workspace.ts
[INFO 7:51:57 AM] [VSCODE] Watching webcraft with pattern **/*
[7:51:57 AM] [VSCODE] File deleted: _tmp_78845_f0d6c1ec990526f5cbe32724db1a9ca3
[7:51:57 AM] [VSCODE] File deleted: app/vite.config.ts.timestamp-1734360716906-336e5591aa3bf.mjs
[7:51:57 AM] [VSCODE] File deleted: packages/common/vite.config.ts.timestamp-1734360716906-a9b87f7db21f6.mjs
[7:51:57 AM] [VSCODE] File deleted: packages/logging/vite.config.ts.timestamp-1734360716906-52034ae5dc0c9.mjs
[7:51:57 AM] [VSCODE]  is not a file. Ignoring.
[INFO 7:51:58 AM] [Worker] Running coverage with configuration: {
  provider: 'v8',
  enabled: true,
  all: true,
  clean: true,
  cleanOnRerun: true,
  reportsDirectory: '/var/folders/hj/3rr384y17z5dsph0l_q502mc0000gp/T/vitest-coverage-5487decc-3730-4ed9-a2ec-745ebb1b80c4',
  exclude: [
    'coverage/**',
    'dist/**',
    '**/node_modules/**',
    '**/[.]**',
    'packages/*/test?(s)/**',
    '**/*.d.ts',
    '**/virtual:*',
    '**/__x00__*',
    '**/\x00*',
    'cypress/**',
    'test?(s)/**',
    'test?(-*).?(c|m)[jt]s?(x)',
    '**/*{.,-}{test,spec,bench,benchmark}?(-d).?(c|m)[jt]s?(x)',
    '**/__tests__/**',
    '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
    '**/vitest.{workspace,projects}.[jt]s?(on)',
    '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}'
  ],
  reportOnFailure: true,
  reporter: [ [ 'json', [Object] ] ],
  extension: [
    '.js',     '.cjs',
    '.mjs',    '.ts',
    '.mts',    '.tsx',
    '.jsx',    '.vue',
    '.svelte', '.marko',
    '.astro'
  ],
  allowExternal: false,
  excludeAfterRemap: false,
  ignoreEmptyLines: true,
  processingConcurrency: 8
}
[7:51:59 AM] Initiating deferred test run
[INFO 7:51:59 AM] Running all tests in webcraft
[7:51:59 AM] The runner is starting because tests packages/logging/tests/namespace.spec.ts were started due to a file change
[7:51:59 AM] [VSCODE] File deleted: packages/logging/vite.config.ts.timestamp-1734360719370-32c21e1740ee2.mjs
[INFO 7:51:59 AM] [Worker] Re-optimizing dependencies because vite config has changed
[7:51:59 AM] [VSCODE] File deleted: node_modules/.vite/deps
[7:51:59 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]_@types+node_uk7zlyucjtqkcrybuy74ncqday/node_modules/@vitest/browser
[7:51:59 AM] [VSCODE] File deleted: node_modules/vite
[7:51:59 AM] [VSCODE] File deleted: node_modules/.bin/vite
[7:51:59 AM] [VSCODE] File deleted: node_modules/webdriverio
[7:51:59 AM] [VSCODE] File deleted: node_modules/@vitest/browser
[7:51:59 AM] [VSCODE] File deleted: node_modules/@vitest/coverage-v8
[7:51:59 AM] [VSCODE] File deleted: node_modules/.pnpm/node_modules/@bcoe/v8-coverage
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/@[email protected]/node_modules/@babel/parser/bin/babel-parser.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/@[email protected]/node_modules/@puppeteer/browsers/lib/cjs/main-cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/acorn/bin/acorn
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/browserslist/cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/crc-32/bin/crc32.njs
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/del-cli/cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/detect-libc/bin/detect-libc.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/edgedriver/bin/edgedriver.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/escodegen/bin/escodegen.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/escodegen/bin/esgenerate.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/esprima/bin/esparse.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/esprima/bin/esvalidate.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/extract-zip/cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/fast-xml-parser/src/cli/cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/geckodriver/bin/geckodriver.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/glob/dist/esm/bin.mjs
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/js-yaml/bin/js-yaml.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/jsesc/bin/jsesc
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/json5/lib/cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/lz-string/bin/bin.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/msw/cli/index.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/nanoid/bin/nanoid.cjs
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/acorn
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/browsers
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/browserslist
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/crc32
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/del
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/del-cli
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/detect-libc
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/edgedriver
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/escodegen
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/esgenerate
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/esparse
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/esvalidate
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/extract-zip
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/fxparser
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/geckodriver
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/glob
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/js-yaml
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/jsesc
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/json5
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/lz-string
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/msw
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/nanoid
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/node-which
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/parser
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/resolve
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/rollup
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/semver
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/update-browserslist-db
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/vite
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/vite-node
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/wait-port
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/why-is-node-running
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/@jridgewell/trace-mapping
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/resolve/bin/resolve
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/rollup/dist/bin/rollup
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/semver/bin/semver.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected][email protected]/node_modules/update-browserslist-db/cli.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite-node/vite-node.mjs
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/bin/vite.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/wait-port/bin/wait-port.js
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/which/bin/node-which
[7:52:00 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/why-is-node-running/cli.js
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/del
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/del-cli
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/msw
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/rollup
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/vite
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@[email protected]_sa_qpa2cpvm7czsjxk54abolktx4i/node_modules/@vitest/browser/node_modules/.bin/msw
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@[email protected]_sa_qpa2cpvm7czsjxk54abolktx4i/node_modules/@vitest/browser/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/esbuild/bin/esbuild
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected][email protected]/node_modules/eslint-config-prettier/bin/cli.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/eslint/bin/eslint.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/node_modules/.bin/esbuild
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/prettier/bin/prettier.cjs
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/sass/sass.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/bin-cwd.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/bin-esm.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/bin-script-deprecated.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/bin-script.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/bin-transpile.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ts-node/dist/bin.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/typescript/bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]/node_modules/typescript/bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]_@types+node_uk7zlyucjtqkcrybuy74ncqday/node_modules/vitest/vitest.mjs
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/del
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/del-cli
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/msw
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/rollup
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/vite
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/del
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/del-cli
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/msw
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/rollup
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/vite
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.modules.yaml
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.pnpm/lock.yaml
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/del
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/del-cli
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/vite
[7:52:01 AM] [VSCODE] Ignoring file: packages/logging/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/del
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/del-cli
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/vite
[7:52:01 AM] [VSCODE] Ignoring file: app/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/del
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/del-cli
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/eslint
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/eslint-config-prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/prettier
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/sass
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-cwd
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-esm
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-node-transpile-only
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/ts-script
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/tsc
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/tsserver
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/vite
[7:52:01 AM] [VSCODE] Ignoring file: packages/common/node_modules/.bin/vitest
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/package.json
[7:52:01 AM] [VSCODE] File created: pnpm-lock.yaml
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/@faker-js_faker.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/@faker-js_faker.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/@vitest_browser___@testing-library_dom.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/@vitest_browser___@testing-library_dom.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/@vitest_browser___@testing-library_user-event.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/@vitest_browser___@testing-library_user-event.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chai.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chai.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-2TUXWMP5.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-2TUXWMP5.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-5RCSPZMQ.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-5RCSPZMQ.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-DCAWGBYG.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-DCAWGBYG.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-JLTQ7UXS.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-JLTQ7UXS.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-XDZQF42V.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/chunk-XDZQF42V.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/expect-type.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/expect-type.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/sinon.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/sinon.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___@vitest_snapshot___magic-string.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___@vitest_snapshot___magic-string.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___@vitest_utils___loupe.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___@vitest_utils___loupe.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___chai.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___chai.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___chai___loupe.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___chai___loupe.js.map
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___expect-type.js
[7:52:01 AM] [VSCODE] Ignoring file: node_modules/.vite/deps_temp_15d58d82/vitest___expect-type.js.map
[INFO 7:52:12 AM] [Worker] 7:52:12 AM [vite] ✨ optimized dependencies changed. reloading
[INFO 7:52:12 AM] [Worker] 
[vitest] Vite unexpectedly reloaded a test. This may cause tests to fail, lead to flaky behaviour or duplicated test runs.
For a stable experience, please add mentioned dependencies to your config's `optimizeDeps.include` field manually.


[7:52:12 AM] [VSCODE] Ignoring file: node_modules/.vite/deps
[7:52:12 AM] [VSCODE] File deleted: node_modules/.vite/deps_temp_15d58d82
[7:52:13 AM] [VSCODE] Ignoring file: node_modules/.vite/vitest/results.json
[INFO 7:52:13 AM] [Worker] ⚠️ [WEBDRIVERIO DEPRECATION NOTICE] The "switchToFrame" command is deprecated and we encourage everyone to use `switchFrame` instead for switching into frames. Read more about this command at https://webdriver.io/docs/api/browser/switchFrame.
[INFO 7:52:13 AM] [Worker] Waiting for the coverage report to generate: /var/folders/hj/3rr384y17z5dsph0l_q502mc0000gp/T/vitest-coverage-5487decc-3730-4ed9-a2ec-745ebb1b80c4
[INFO 7:52:13 AM] [Worker] Coverage reports retrieved: /var/folders/hj/3rr384y17z5dsph0l_q502mc0000gp/T/vitest-coverage-5487decc-3730-4ed9-a2ec-745ebb1b80c4
[7:52:13 AM] Coverage was disabled due to all requests being exhausted
[7:52:13 AM] Ending test run packages/logging/tests/namespace.spec.ts
[INFO 7:52:13 AM] Removed coverage reports /var/folders/hj/3rr384y17z5dsph0l_q502mc0000gp/T/vitest-coverage-5487decc-3730-4ed9-a2ec-745ebb1b80c4

Extension Version

1.8.4

Vitest Version

vitest/2.1.8 darwin-x64 node-v23.4.0

Validations

@sheremet-va
Copy link
Member

sheremet-va commented Dec 16, 2024

webdriverio doesn't support v8 coverage provider (which is the default value), specify istanbul if you need to collect coverage in webdriverio: https://vitest.dev/config/#coverage-provider

@sheremet-va sheremet-va closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2024
@glektarssza
Copy link
Author

glektarssza commented Dec 16, 2024

I am specifying istanbul as my coverage provider.

See my vite.config.ts file

@sheremet-va
Copy link
Member

I am specifying istanbul as my coverage provider.

See my vite.config.ts file

Coverage options are configured at the top level, test projects cannot override them: https://vitest.dev/guide/workspace.html#configuration

@glektarssza
Copy link
Author

Ah, that's my mistake. Thank you for the pointer!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants