Is it possible to define handlers within the test cases? #1956
Closed
FredLavoie
started this conversation in
General
Replies: 1 comment
-
this should work the same as it did in earlier versions, yes. The only difference is the api for the resolvers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm coming from using msw 0.49 which I've used both professionally and in personal projects. I was used to defining a catchall handler and then defining specific handlers in the test files themselves (see example below).
Is it still possible to do so at the individual test case level in msw 2?
Example:
Beta Was this translation helpful? Give feedback.
All reactions