Commit dfe958d
committed
fix(tests): fix Cypress and PHP 8.4 CI failures
- Add Electron to supported browsers regex so Electron-based environments
(including Cypress) are not redirected to the unsupported browser page.
The browserslist-useragent-regexp 4.1.4 upgrade stopped matching Electron
implicitly; this mirrors the existing AscDesktopEditor special-case.
- Fix TextProcessing mock: deleteOlderThan() returns int, not void.
PHP 8.4 strict mock type enforcement causes a TypeError when the
callback is declared void.
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b56334c commit dfe958d
4 files changed
Lines changed: 7 additions & 4 deletions
File tree
- core/src/services
- dist
- tests/lib/TextProcessing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
0 commit comments