UNPKG

msw

Version:

Seamless REST/GraphQL API mocking library for browser and Node.js.

16 lines (14 loc) 250 B
import { http } from './http' test('exports all REST API methods', () => { expect(http).toBeDefined() expect(Object.keys(http)).toEqual([ 'all', 'head', 'get', 'post', 'put', 'delete', 'patch', 'options', ]) })