The GitHub Actions job "Backport Approval Check" on texera.git/formview-pr15a 
has failed.
Run started by GitHub user Copilot (triggered by Copilot).

Head commit for run:
e3242c4e3365780a0d9783a0aa2871bb65de9584 / Yang Zhang <[email protected]>
test(gui): stub the export download through FileSaverService

The workspace menu's export test module-mocked the CommonJS file-saver
package (vi.mock("file-saver")). Under the Angular unit-test builder that
call ends up inside the built spec chunk rather than at its top level
(Vitest warns about it on every platform), and once this stack shifted the
shared chunk graph the mock stopped applying on the Windows leg: the real
saveAs ran and the spy saw 0 calls (7 of the last 8 Windows runs on #8455
and #8456, while main and #8499 pass).

Route the download through the existing injectable FileSaverService, as
the dashboard downloads already do, and stub that with TestBed, which does
not depend on mock hoisting. No behaviour change.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FVvP3ttj22f9LB4p9u2anY

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

With regards,
GitHub Actions via GitBox

Reply via email to