Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Conversation

@alanshaw
Copy link
Contributor

@alanshaw alanshaw commented Jul 2, 2018

This PR simply fixes getDescribe to also allow you to skip an entire suite using the object syntax ({ name: 'test name', reason: 'why it was skipped' }) but with only a name and not a reason. It also tightens up the check for object so that things also considered 'object' according to typeof don't also get through ahem null, undefined, [] etc.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
@ghost ghost assigned alanshaw Jul 2, 2018
@ghost ghost added the in progress label Jul 2, 2018
@alanshaw alanshaw merged commit ef91026 into master Jul 2, 2018
@ghost ghost removed the in progress label Jul 2, 2018
@alanshaw alanshaw deleted the fix/skip-object-no-reason branch July 2, 2018 19:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants