https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129

--- Comment #76 from Paul Derscheid <[email protected]> ---
Created attachment 203655
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203655&action=edit
Bug 41129: (follow-up) Fix Preservation test under ES2020

Bug 41129 changes the TypeScript output target to ES2020. The Preservation
Trains Cypress spec redeclares the same block-scoped variable, which previously
worked only because the default target converted each declaration to var.

Reuse the existing variable so the emitted ES2020 remains valid JavaScript and
the Preservation suite can load.

Test plan:
1. Run:
   `yarn cypress run --e2e --browser electron --spec
   't/cypress/integration/Preservation/Trains.ts'`
2. Confirm that all Preservation Trains tests pass.

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Assisted-by: GPT 5.6 (OpenAI)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to