Ma77Ball opened a new pull request, #5008:
URL: https://github.com/apache/texera/pull/5008

   ### What changes were proposed in this PR?
     - Replace `let mockX: any;` declarations in 13 active spec files with 
`Mocked<T>` from Vitest.
     - Replace `{...} as any` mock-literal casts with `as unknown as Mocked<T>` 
(or the appropriate concrete type for component property assignments and 
partial fixtures).
     - Replace `seen: any[]` accumulators in `preset.service.spec.ts` with the 
actual stream event types.
     - Skip the two pre-existing out-of-scope patterns: `(svc as 
any).privateField` private-member access and `as any as joint.dia.Link` JointJS 
partial-mocks.
   
   
   ### Any related issues, documentation, or discussions?
   Closes: #4861 
   
   ### How was this PR tested?
    - `tsc --project src/tsconfig.spec.json --noEmit` passes with no errors.
     - No runtime test behavior changed — only type annotations and casts.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.7 in compliance with ASF
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to