Via https://github.com/avajs/ava/pull/1711#issuecomment-365646530 鈥斅爄t'd be great to document how t.context works in .before() / .after() and .beforeEach() / .afterEach() hooks. Examples should illustrate when context is copied and how to share references and values.
Hi, I've recently used t.context in the .before() / .after() and .beforeEach() / .afterEach() hooks in my project successfully and would love to help with this. I'm rather new to open source contributing so any feedback/advice would be appreciated. Thanks!
@Seiyial that's great! Have a look at some of our other recipes to see what we're looking for. Some of the more recently updates ones are:
Fork the repository, create a new Markdown file in the docs/recipes and go from your experiences. Then do a PR and we can help with any improvements.
@novemberborn Sorry for the delay. Please let me know how you think about it, thanks!
I have some free time this weekend, I'd be happy to build on @Seiyial's work in his PR and update it with @novemberborn's PR feedback. Any objection?
Go for it @mh81. If you could retain @Seiyial's commits that'd be great.