yarn msw 0.18.0

latest releases: 2.3.0, 2.2.14, 2.3.0-ws.rc-6...
4 years ago

Features

rest.get('/books', (req, res, ctx) => {
  return res.once(ctx.json([1, 2, 3]))
})

Bug fixes

  • Fixes an issue that resulted into the following TypeScript error when installing msw (#185, #186 ):
TS7016: Could not find a declaration file for module 'cookie'
  • Fixes an outdated GitHub repository link in the mockServiceWorker.js file.

Don't miss a new msw release

NewReleases is sending notifications on new releases.