Skip to content

Version Packages - #837

Merged
unional merged 1 commit into
mainfrom
changeset-release/main
Aug 20, 2026
Merged

Version Packages#837
unional merged 1 commit into
mainfrom
changeset-release/main

Conversation

@unional

@unional unional commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

storybook-addon-vis@4.2.4

Patch Changes

  • #836 e135d00 Thanks @unional! - Gate the auto-snapshot hooks on the Vitest browser global instead of a general test-environment check.

    beforeAll and beforeEach guarded on isRunningInTest() from @repobuddy/test, which treats any
    HeadlessChrome user agent as a test run. Browsing Storybook with a headless browser — driving it
    with Playwright to debug a story, for example — therefore entered the snapshot setup path, where the
    vitest/browser command proxy is empty, and failed with commands.setupVisSuite is not a function
    so the preview never rendered.

    Both hooks now check __vitest_browser__, the same signal the command proxy itself uses, so they
    run exactly when the Vitest commands they depend on are present. This also covers a non-browser
    Vitest run (jsdom or node), which passed the old guard and hit the same empty proxy.

    @repobuddy/test is no longer a runtime dependency of this package.

@unional
unional force-pushed the changeset-release/main branch 2 times, most recently from bf7cc73 to a3e6e2b Compare August 11, 2026 22:16
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a3e6e2b to 567c0b3 Compare August 20, 2026 09:07
@unional
unional enabled auto-merge (rebase) August 20, 2026 10:09
@unional
unional merged commit 0f153d5 into main Aug 20, 2026
10 checks passed
@unional
unional deleted the changeset-release/main branch August 20, 2026 10:14
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