UNPKG

react-testing-library

Version:

Simple and complete React DOM testing utilities that encourage good testing practices.

11 lines (9 loc) 342 B
"use strict"; module.exports = { get: jest.fn(() => Promise.resolve({ data: {} })) // Note: // For now we don't need any other method (POST/PUT/PATCH), what we have already works fine. // We will add more methods only if we need to. // For reference please read: https://github.com/kentcdodds/react-testing-library/issues/2 };