Skip to content

test: use runIf to reduce nesting#21711

Open
sheremet-va wants to merge 1 commit intovitejs:mainfrom
sheremet-va:test/run-if-to-reduce-nesting
Open

test: use runIf to reduce nesting#21711
sheremet-va wants to merge 1 commit intovitejs:mainfrom
sheremet-va:test/run-if-to-reduce-nesting

Conversation

@sheremet-va
Copy link
Member

@sheremet-va sheremet-va commented Feb 25, 2026

Vitest supports describe.runIf to skip tests during collection. This reduces nesting and removes a dummy expect(true).toBe(true) test.

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.

1 participant