I\'m using express as my custom server for next.js. Everything is fine, when I click the products to the list of products
Step 1: I click the produc
use .log(console.log) after nock , so you will get exact unmatched and expected url . Example:
nock("http://localhost") .log(console.log) .persist() .get("/api/config") .reply(200, { data: 1234 })