Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test.skip() #194

Merged
merged 1 commit into from
Nov 11, 2015
Merged

Add test.skip() #194

merged 1 commit into from
Nov 11, 2015

Conversation

vadimdemedes
Copy link
Contributor

This PR fixes #192.

It allows you to use test.skip() to skip the whole test. The output for skipped tests is like that:

screen shot 2015-11-11 at 9 16 46 pm

log.write(' ' + chalk.cyan('- ' + props.title));
return;
}

// if (runner.stats.testCount === 1) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, but we can probably remove this now, right? Because of bb1304c

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, spotted this crap, will remove later in cleanup PRs ;)

sindresorhus added a commit that referenced this pull request Nov 11, 2015
@sindresorhus sindresorhus merged commit 96fc0da into master Nov 11, 2015
@sindresorhus sindresorhus deleted the test-skip branch November 11, 2015 20:26
@sindresorhus
Copy link
Member

You're on 🔥!

@vadimdemedes
Copy link
Contributor Author

I was, I was! Now my day is complete :D

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.

Add test.skip()
2 participants