The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-6772-3ceb12b7bc19bb3db633d941010f72c660838bb0
 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
cf52d7cf319fd6248314410f679a8dd45a03d5d9 / Xinyuan Lin <[email protected]>
test(frontend): add unit tests for SharedModelChangeHandler (#6772)

### What changes were proposed in this PR?

Adds a new spec for `SharedModelChangeHandler` (previously only ~74%
covered transitively, no dedicated spec). The 29 tests drive its yjs
deep-observers through a constructed `WorkflowGraph` and assert that the
operator/link/comment-box add-delete, element-position, and deep
operator/comment-box property-change subjects fire with the right
payloads, plus `newYDocLoadedSubject` re-registration. An `afterEach`
tears down the shared model.

### Any related issues, documentation, discussions?

Closes #6768.

### How was this PR tested?

`ng test --include='**/shared-model-change-handler.spec.ts'` -> 29/29
passing. `yarn format:ci` passes.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8 [1M context])

---------

Signed-off-by: Xinyuan Lin <[email protected]>
Co-authored-by: Copilot Autofix powered by AI 
<[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/29970913214

With regards,
GitHub Actions via GitBox

Reply via email to