test(core): expect the vcs provider in info results - #49264
Merged
Merged
Conversation
b1f6d21 added the selected provider's ID to Vcs.info() without updating the core Vcs tests, which CI did not run for that push.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes # — no issue; fixes CI for every core PR.
Type of change
What does this PR do?
b1f6d21 (
refactor(protocol): refine vcs and shell APIs) added the selected provider's ID toVcs.info()results and updated the TUI diff-viewer test, but notpackages/core/test/vcs.test.tsorvcs-hg.test.ts.v2CI stayed green because the affected-package filter did not rerun core tests for that push, so the seven staletoEqualexpectations only surface on PRs that touch core (for example #49255). This updates those expectations to includeprovider: "custom" | "git" | "hg"to match the current implementation. No source changes.How did you verify your code works?
cd packages/core && bun test test/vcs.test.ts test/vcs-hg.test.ts: 35 pass, 0 fail (the mercurial cases skip locally withouthg; CI runs them). Lint clean.Screenshots / recordings
Not a UI change.
Checklist
from OpenCode