pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Replace axios-mock-adapter with Nock

Open mnholtz opened this issue 1 year ago • 1 comments

Part of @fregante's implementation sketch here: https://github.com/pixiebrix/pixiebrix-extension/issues/4810#issuecomment-1999009685

mnholtz avatar Mar 22 '24 21:03 mnholtz

We might use msw instead of nock when mocking our own API, we already use it in Storybook I think

  • https://kentcdodds.com/blog/stop-mocking-fetch
  • https://nate-d-gage.medium.com/mocking-axios-with-mock-service-worker-427b0f87aa08

fregante avatar Mar 27 '24 09:03 fregante