Merged
Conversation
Owner
mvhenten
commented
Dec 3, 2025
- Move demo to test
- fix(ci): ignore build/dist
- fix(ci): update biome config
- fix(ci): fix formatting
- Remove eslint config; we don't use eslint
- feat(ci): adding unit tests
Contributor
There was a problem hiding this comment.
Pull request overview
This PR transitions the project from a demo-based structure to a proper test-driven approach, while also modernizing the tooling configuration. It removes the demo directory in favor of a dedicated test suite, updates Biome to version 2.3.8 with corresponding configuration changes, and removes the unused ESLint configuration.
Key Changes
- Introduces comprehensive unit tests for entity generation and decorator functionality
- Updates Biome from 1.9.4 to 2.3.8 with modernized configuration (VCS integration, assist actions)
- Removes demo directory and replaces it with a test directory containing TypeSpec test fixtures
Reviewed changes
Copilot reviewed 12 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/tspconfig.yaml | New test configuration for TypeSpec compilation |
| test/main.tsp | TypeSpec test fixtures with entity and model definitions |
| test/entities.test.js | Comprehensive unit tests for Job and Person entities, covering attributes, decorators, and indexes |
| src/lib.ts | Import order formatting adjustment |
| src/index.ts | Export order formatting adjustment |
| src/emitter.ts | Updated biome-ignore comment explanation |
| src/decorators/$entity.ts | Removed unused NumericLiteral import |
| package.json | Updated test scripts and Biome version to 2.3.8 |
| package-lock.json | Updated Biome dependencies to 2.3.8 |
| biome.json | Migrated to Biome 2.x configuration schema with VCS support and assist actions |
| .gitignore | Added build and dist directories (dist was already present) |
| eslint.config.js | Removed entire ESLint configuration |
| demo/* | Removed demo directory files (tspconfig.yaml, package.json, index.ts) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mvhenten
added a commit
that referenced
this pull request
Dec 3, 2025
mvhenten
added a commit
that referenced
this pull request
Dec 3, 2025
* Move demo to test * fix(ci): ignore build/dist * fix(ci): update biome config * fix(ci): fix formatting * Remove eslint config; we don't use eslint * feat(ci): adding unit tests
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.