You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #1942 on December 10, 2021 15:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Im currently tring to test a got request using jest using nock to intercept requests.
this is the got request
However when the request is called its return the error
'got_1.default.get(...).json is not a function'
This error doesnt occur is the request is not mocked
not sure if this is a error or i am doing someting wrong
Beta Was this translation helpful? Give feedback.
All reactions