Skip to content

overrideWithValue only makes test harder than before #793

Answered by rrousselGit
lcdsmao asked this question in Q&A
Discussion options

You must be logged in to vote

To begin with, I'd advise against setUp for creating ProviderContainer & override. That should be part of the test, not a setUp function.

Your snippets are a bit broad. Could you explain in depth what the problem is and why both use-cases are desirable?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lcdsmao
Comment options

@lcdsmao
Comment options

Answer selected by lcdsmao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants