Skip to content

deps: bump @vitest/coverage-v8 from 3.2.4 to 4.1.9 - #1337

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @vitest/coverage-v8 from 3.2.4 to 4.1.9.

Release notes

Sourced from @​vitest/coverage-v8's releases.

v4.1.9

🐞 Bug Fixes

View changes on GitHub

v4.1.8

   🐞 Bug Fixes

    View changes on GitHub

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

v4.1.6

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​vitest/coverage-v8 since your current version.


@dependabot @github

dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, squad:belanna. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9 branch from c26d7b6 to d9293a5 Compare June 15, 2026 17:26
@tamirdresher

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9 branch 3 times, most recently from 8842d86 to 80b3589 Compare June 16, 2026 06:33
@tamirdresher

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9 branch from 80b3589 to 81fc6bb Compare June 16, 2026 08:27
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 3.2.4 to 4.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.9
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9 branch from 81fc6bb to 75e702c Compare June 16, 2026 09:13
tamirdresher added a commit that referenced this pull request Jun 16, 2026
…#1352)

* deps: bump @vitest/coverage-v8 from 3.2.4 to 4.1.9

Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 3.2.4 to 4.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.9
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: bump vitest from v3 to v4 to resolve peer-dep mismatch with @vitest/coverage-v8 v4

Dependabot #1337 bumped @vitest/coverage-v8 to ^4.1.9 but left vitest at
^3.0.0, causing ERESOLVE in CI. This commit aligns both packages at ^4.1.9
across root and all sample workspaces that referenced ^3.0.0.

Vitest v4 API adaptations required:
- test/cli/loop.test.ts: add vi.clearAllMocks() to afterEach — vitest 4
  no longer resets vi.fn() call history on vi.restoreAllMocks(); the
  'skips gh copilot preflight when agentCmd is provided' test was seeing
  stale execFile call counts from the prior test.
- test/cli/watch-capabilities.test.ts: FSStorageProvider mock changed from
  vi.fn(() => mockStorage) to vi.fn(function() { return mockStorage; }) —
  vitest 4 spying rewrite requires 'function' keyword (not arrow function)
  for mocks used as constructors with 'new'.

No changes to non-test, non-package-version code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(test): vitest 4 strict-import + constructor-mock fixes

vitest 4 esbuild rejects duplicate imports (parseHistory was imported
twice in squad-state-gaps.test.ts). vitest 4 vi.fn(arrow) is not callable
as a constructor, so the CopilotClient mock needed a function() wrapper
that assigns to 	his.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(test): vitest 4 constructor-mock fixes for client/session-traces/integration

Same pattern as adapter-client.test.ts: vitest 4 vi.fn(arrow) is not
callable as a constructor (no [[Construct]] internal slot). All three
files mock CopilotClient and instantiate it with 'new', so they need a
function() wrapper that assigns to 'this'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tamirdresher

Copy link
Copy Markdown
Collaborator

Superseded by #1352 (coordinated vitest v4 upgrade with vitest 4 mock-API fixes for client/session-traces/integration/adapter-client/squad-state-gaps tests).

@dependabot @github

dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9 branch June 16, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant