Commit graph

6 commits

Author SHA1 Message Date
Hazelnoot
7ebe0f5a9f update cypress to the new templates 2025-11-05 19:41:08 -05:00
Hazelnoot
ce8b75c652 modernize cypress to target the same ES and TS standards as the rest of the app 2025-11-05 19:41:00 -05:00
Hazelnoot
681afb2d9f fix type errors caused by dependency updates 2025-11-05 19:25:53 -05:00
Hazelnoot
457fc38e6a normalize more TS configs 2025-11-05 19:20:04 -05:00
Hazelnoot
5af5414fdf enable TypeScript incremental mode to speed up IDEs 2025-05-28 21:31:39 -04:00
Gianni Ceccarelli
d7bb6c88d3
Cypress typescript (#13591)
* convert Cypress tests to TypeScript

this work was done by @lunaisnotaboy https://github.com/lunaisnotaboy
for their fork https://github.com/cutiekey/cutiekey/pull/7

I just repacked their changes into a minimal set

* fix call to `window` in cypress tests

this error was spotted thanks to the TypeScript compiler:

```
support/commands.ts:33:12 - error TS2559: Type '(win: any) => void'
has no properties in common with type 'Partial<Loggable &
Timeoutable>'.

33  cy.window(win => {
              ~~~~~~~~

Found 1 error in support/commands.ts:33
```

(again, @lunaisnotaboy did the actual work)
2024-03-20 11:25:49 +09:00