Skip to content

Conversation

@icatalina
Copy link
Contributor

@icatalina icatalina commented Nov 14, 2025

Jira: FE-432

What/Why?

Avoid using import * from for tests

This pattern is not great, vitest offers a nicer way of mocking by using vi.mock and replacing only the desired methods from a module.

Use vitest-when instead of logic where possible.

Rollout/Rollback

Revert

Testing

These changes only affect tests, if tests pass we are good.

This pattern is not great, vitest offers a nicer way of mocking by using
`vi.mock` and replacing only the desired methods from a module.

Use `vitest-when` instead of logic where possible.
@icatalina icatalina requested a review from a team as a code owner November 14, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants