Skip to content

test: reduce duplicate test setup - #294

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-test-duplication
Aug 10, 2026
Merged

test: reduce duplicate test setup#294
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-test-duplication

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Repeated template and formatter setup made the tests harder to review and keep in sync.

This PR consolidates create-rstack template cases into shared data tables and extracts small formatter fixtures for requests, cache contexts, and cached unsupported files. Test coverage remains unchanged, and cache fixtures now follow the current .rstack/cache/fmt/v1.json layout.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 775529c
Status: ✅  Deploy successful!
Preview URL: https://9a58f047.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-refactor-test-dup.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit cbb9519 into main Aug 10, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/refactor-test-duplication branch August 10, 2026 12: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