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

Head commit for run:
bef7f716e72b55b77afe4471f350314e62bb48a7 / Matthew B. <[email protected]>
test(frontend): add unit tests for set util (#6624)

### What changes were proposed in this PR?
- Add `frontend/src/app/common/util/set.spec.ts`, a new Vitest spec for
`set.ts`, which previously had no dedicated unit tests.
- Cover intersection over common, disjoint, and empty inputs.
- Cover string elements and object-reference elements, and confirm the
inputs are not mutated.
- Confirm a new Set instance is returned and that the operation is
symmetric.
### Any related issues, documentation, discussions?
Closes: #6623
### How was this PR tested?
- Run: `cd frontend && node --max-old-space-size=8192
./node_modules/nx/dist/bin/nx.js test gui --watch=false
--include=src/app/common/util/set.spec.ts`, expect all 8 tests passing.
- Test-only change; no production code is modified.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF

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

With regards,
GitHub Actions via GitBox

Reply via email to