-
Notifications
You must be signed in to change notification settings - Fork 231
Add unit test to ensure onModelGeometryChanged() is called during rebase #8791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ffank/rebase-geometric-changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive unit tests to verify that the onModelGeometryChanged() event is properly fired during rebase operations with different types of local changes. The tests cover scenarios with no local changes, geometric changes, and non-geometric changes during pull/merge operations.
Key changes:
- Added new test cases for geometry change event tracking during rebase
- Enhanced test helpers to support geometry manipulation (insertRecipe2d, updateRecipe2d, geometry stream building)
- Updated existing tests to use proper prop1 values and renamed helper method for clarity
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 10 comments.
| File | Description |
|---|---|
| core/backend/src/test/hubaccess/Rebase.test.ts | Added four new test cases for onModelGeometryChanged events, enhanced test helpers with geometry support, and updated test assertions |
| .github/copilot-instructions.md | New documentation file providing AI coding agent instructions for the iTwin.js project |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…iTwin/itwinjs-core into affank/rebase-geometric-changes
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
No description provided.