From f81661a12c14b5959e36ec5fd2a6b45bcbcad554 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 12 Oct 2020 17:57:17 +0100 Subject: Add test setup file --- src/setupTests.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/setupTests.ts') diff --git a/src/setupTests.ts b/src/setupTests.ts index 74b1a27..4dc2c73 100644 --- a/src/setupTests.ts +++ b/src/setupTests.ts @@ -1,5 +1,2 @@ -// jest-dom adds custom jest matchers for asserting on DOM nodes. -// allows you to do things like: -// expect(element).toHaveTextContent(/react/i) -// learn more: https://github.com/testing-library/jest-dom + import '@testing-library/jest-dom/extend-expect'; -- cgit v1.2.3