Skip to content

fix(create-rstack): auto unmount Vue wrappers in templates - #272

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-vue-template-auto-unmount
Aug 9, 2026
Merged

fix(create-rstack): auto unmount Vue wrappers in templates#272
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-vue-template-auto-unmount

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Vue Test Utils does not automatically unmount wrappers created with mount, allowing lifecycle side effects to leak between tests in generated projects.

This PR calls enableAutoUnmount(afterEach) from the shared Rstest setup in all Vue app and library templates.

Related Links

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: dc3be1a
Status: ✅  Deploy successful!
Preview URL: https://bb4f70e2.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-vue-template.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 431bc9b into main Aug 9, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-vue-template-auto-unmount branch August 9, 2026 13:32
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