Skip to content

how can i make mock of AutoDisposeAsyncNotifier ? #3737

Answered by hisaichi5518
BowonLee asked this question in Q&A
Discussion options

You must be logged in to vote

The following documentation is helpful:

It is generally discouraged to mock Notifiers. This is because Notifiers cannot be instantiated on their own, and only work when used as part of a Provider.

https://riverpod.dev/docs/essentials/testing#mocking-notifiers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BowonLee
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