Skip to content

Conversation

@khanaffan
Copy link
Contributor

No description provided.

@khanaffan khanaffan requested a review from a team as a code owner November 20, 2025 19:10
@khanaffan khanaffan requested a review from Copilot November 20, 2025 19:10
Copy link
Contributor

Copilot AI left a 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.

@khanaffan khanaffan enabled auto-merge (squash) November 20, 2025 19:17
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.

4 participants