{"library":"fetchception","type":"library","category":null,"description":"Fetchception is a library for mocking fetch API calls in tests, version 2.0.1. It allows defining expected requests and corresponding responses, automatically restoring the global fetch after the test. Based on ideas from fileception and httpception, it uses messy and unexpected-messy for HTTP conversation modelling and diffing. Key differentiators: simple declarative API, automatic cleanup, and integration with unexpected for advanced assertions.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetchception","imports":["import fetchception from 'fetchception'","const fetchception = require('fetchception')","import fetchception from 'fetchception'"]},{"cmd":"yarn add fetchception","imports":[]},{"cmd":"pnpm add fetchception","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"fetchception","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}