-
| 
         import ky from "ky"; jest.mock("ky"); it("should fetch data", () => { the snippet above results in an error The main question is: What is the correct way to use jests' mockResolvedValue with ky? I have not found any examples of this usage yet. any examples would be greatly appreciated.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
| 
         Hey! Did you solve this problem?  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         main.js main.test.js  | 
  
Beta Was this translation helpful? Give feedback.
main.js
main.test.js