Repository navigation
ContextI'm setting up React Testing Library's custom render — a Since this is shared test setup code, I expected it to live in The problemThe providers I'd want to wrap with — e.g. Every option I can come up with breaks down:
So I can't find a placement that both respects the import rule and keeps the provider setup centralized. Questions
Thanks! |
Replies: 1 comment
|
Hi Yes, test files are not required to follow import rule (the testing guide is in progress, this point will be explicitly mentioned) |
Hi
Yes, test files are not required to follow import rule (the testing guide is in progress, this point will be explicitly mentioned)