How do I mock a PouchDb database using Jest and Typescript?

前端 未结 0 1296
Happy的楠姐
Happy的楠姐 2020-12-17 22:27

I would like to write a unit test that uses mocked PouchDb responses, but I\'m struggling to get Jest, Typescript and PouchDb to all play together nicely. Admittedly because

相关标签:
回答
  • 消灭零回复
提交回复
热议问题