chore(deps): update dependency @testing-library/react to v10 (#4046)

This commit is contained in:
renovate[bot]
2020-07-22 14:21:13 +03:00
committed by GitHub
parent 6a1cbc9e32
commit 3640e2692e
6 changed files with 1015 additions and 585 deletions

View File

@ -1,8 +1,6 @@
/* eslint-disable emotion/no-vanilla */
import '@testing-library/jest-dom/extend-expect';
import fetch from 'node-fetch';
import * as emotion from 'emotion';
import { createSerializer } from 'jest-emotion';
jest.mock('path', () => {
const actual = jest.requireActual('path');
@ -13,4 +11,3 @@ jest.mock('path', () => {
window.fetch = fetch;
window.URL.createObjectURL = jest.fn();
expect.addSnapshotSerializer(createSerializer(emotion));