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

improve context sharing for beforeEach/afterEach #110

Merged
merged 1 commit into from
Oct 28, 2015

Conversation

sindresorhus
Copy link
Member

@sindresorhus
Copy link
Member Author

// @vdemedes @schnittstabil

@vadimdemedes
Copy link
Contributor

I think it's good to go!

@schnittstabil
Copy link

There is an unnecessary(?) this.context = {} within the Test constructor in lib/test.js remaining.

@sindresorhus
Copy link
Member Author

@schnittstabil I didn't put it there, but I assume it's so that even tests without hooks can have a context, for consistency. @vdemedes Correct?

@vadimdemedes
Copy link
Contributor

@sindresorhus Yep, correct!

sindresorhus added a commit that referenced this pull request Oct 28, 2015
improve context sharing for beforeEach/afterEach
@sindresorhus sindresorhus merged commit 04b3db5 into master Oct 28, 2015
@sindresorhus sindresorhus deleted the improve-context-sharing branch October 28, 2015 15:54
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