refactor(client): move jest-dom into setup file

This commit is contained in:
Oliver Eyton-Williams
2020-10-12 14:11:52 +02:00
parent b1fb9150e8
commit b9db30f7a1
18 changed files with 3 additions and 19 deletions

View File

@@ -1,7 +1,6 @@
/* global expect */
import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-dom/extend-expect';
import Link from './Link';

View File

@@ -1,7 +1,6 @@
/* global expect */
import React from 'react';
import { render, cleanup } from '@testing-library/react';
import 'jest-dom/extend-expect';
import Loader from './Loader';