Skip to content

[stable35] test(vitest): move vi.mock() to top of file - #9321

Merged
max-nextcloud merged 1 commit into
stable35from
backport/9172/stable35
Oct 3, 2026
Merged

max-nextcloud merged 1 commit into
stable35from
backport/9172/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Vitest 5 refuses a `vi.mock()` call nested in a describe or it block.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: OpenCode:claude-fable-5.1
@backportbot backportbot Bot added dependencies Pull requests that update a dependency file 3. to review labels Oct 3, 2026
@backportbot backportbot Bot added this to the Nextcloud 35.0.2 milestone Oct 3, 2026
@max-nextcloud
max-nextcloud merged commit d5950f0 into stable35 Oct 3, 2026
67 of 68 checks passed
@max-nextcloud
max-nextcloud deleted the backport/9172/stable35 branch October 3, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants