Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds test configuration and test cases for the apps/website component in project templates. The changes enable testing capabilities across singlerepo, monorepo, and monorepo-app template structures.
- Adds Vitest and happy-dom dependencies for testing setup
- Creates counter test files with comprehensive test coverage
- Updates build scripts to include test execution in the ready command
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/global/templates/singlerepo/vite.config.ts | Adds Vite config with happy-dom test environment |
| packages/global/templates/singlerepo/package.json | Adds test dependencies and scripts |
| packages/global/templates/singlerepo/tests/counter.spec.ts | Implements comprehensive counter functionality tests |
| packages/global/templates/monorepo/pnpm-workspace.yaml | Adds happy-dom to catalog dependencies |
| packages/global/templates/monorepo/package.json | Removes --run flag from test script |
| packages/global/templates/monorepo/apps/website/vite.config.ts | Adds Vite config with happy-dom test environment |
| packages/global/templates/monorepo/apps/website/package.json | Adds test dependencies and scripts using catalog references |
| packages/global/templates/monorepo/apps/website/tests/counter.spec.ts | Implements comprehensive counter functionality tests |
| packages/global/templates/monorepo-app/vite.config.ts | Adds Vite config with happy-dom test environment |
| packages/global/templates/monorepo-app/package.json | Adds test dependencies and scripts using catalog references |
| packages/global/templates/monorepo-app/tests/counter.spec.ts | Implements comprehensive counter functionality tests |
| packages/global/src/scaffold.ts | Adds git init instruction to next steps output |
| packages/global/snap-tests/new-singlerepo/snap.txt | Updates snapshot with git init instruction |
| packages/global/snap-tests/new-monorepo/snap.txt | Updates snapshot with git init instruction |
Comments suppressed due to low confidence (2)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Brooooooklyn
approved these changes
Sep 18, 2025
Member
Author
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.

No description provided.