Mock the SellerMagnet API in Node.js Tests Without Spending Credits
Test the code that calls the SellerMagnet API without hitting it: fake only `global.fetch`, run the real client and retry helpers unchanged, and cover every billed, free and refunded status code with Node's built-in test runner. No npm packages, no credits spent.