You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Snyk] Security upgrade axios from 1.15.0 to 1.15.2 (#13764)
* chore(deps): bump axios to v1.18.1
Signed-off-by: Lukas Hirt <info@hirt.cz>
* fix(tests): restore web-worker mock coverage broken by axios v1.18.1 bump
vi.doMock inside beforeEach registered the @ownclouders/web-client mock
after useWebWorker had already loaded the worker module and resolved its
static `webdav` import, leaving every test running against the real
WebDAV client. Replace vi.doMock with a hoisted module-level vi.mock
(matching the pattern already used for the PDF renderer mock) so the
mock is in place before any worker module loads. Also move webDavMock to
module scope so the factory closure can reference it, and fix the
pasteWorker test data which incorrectly nested baseUrl inside transferData
items instead of at the top level of MessageData.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-authored-by: Lukas Hirt <info@hirt.cz>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments