test: Replace help text integration tests with insta snapshots#11911
Merged
anthonyshew merged 1 commit intomainfrom Feb 19, 2026
Merged
test: Replace help text integration tests with insta snapshots#11911anthonyshew merged 1 commit intomainfrom
anthonyshew merged 1 commit intomainfrom
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Coverage Report
|
7092058 to
f8af1de
Compare
The prysk integration tests for CLI help text (turbo-help.t at 540 lines, plus ~120 lines in no-args.t) required manually updating hundreds of lines of inline expected output whenever any CLI option changed. Replace them with 6 insta snapshot tests that can be updated with `cargo insta review`.
f8af1de to
a87844c
Compare
github-actions bot
added a commit
that referenced
this pull request
Feb 19, 2026
## Release v2.8.11-canary.7 Versioned docs: https://v2-8-11-canary-7.turborepo.dev ### Changes - release(turborepo): 2.8.11-canary.6 (#11913) (`835048d`) - test: Replace help text integration tests with insta snapshots (#11911) (`d49dbd5`) --------- Co-authored-by: Turbobot <turbobot@vercel.com>
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.
Summary
turbo-help.t(540 lines of inline expected help text) and trimsno-args.t(~120 lines of duplicated help text)turbo -h,turbo --help,turbo link -h,turbo unlink -h,turbo login -h,turbo logout -h)cargo insta reviewinstead of manually updating prysk test filesTesting