Onebite.dev

Developer tips & trick, one bite at a time

Developer tips & trick around jest


Mocking next router on Jest test How to mock the next router on Jest test function to be able to past query when rendering a component in React or nextjs App
How to solve Error jest-haste-map Watchman crawl failed. Here is the solution on how to solve Error: jest-haste-map: Watchman crawl failed. Retrying once with node crawler when running Jest Test


Colleciton of bitesize articles for developer around jest