Skip to content

Add test.skipIf() and test.runIf()#3423

Merged
novemberborn merged 4 commits intomainfrom
test-skipif
Apr 6, 2026
Merged

Add test.skipIf() and test.runIf()#3423
novemberborn merged 4 commits intomainfrom
test-skipif

Conversation

@sindresorhus
Copy link
Copy Markdown
Member

Fixes #2979

I decided to make it a separate function to make it read better and to make the types simpler.

@novemberborn novemberborn merged commit 8801c7a into main Apr 6, 2026
32 of 34 checks passed
@novemberborn novemberborn deleted the test-skipif branch April 6, 2026 19:42
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.

test.skip should accept a condition

2 participants