From c8082a719817abae5198ce9063996270779c8023 Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Tue, 4 May 2021 19:16:21 +0200 Subject: [PATCH] Remove TestContext from App.test.js The TestContext is only required for components that depend on react-admin, but not for the Admin component itself. Change-Id: I3e07cb6bfa592f1bf59ca282cdf1c2e6c922f619 --- src/App.test.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/App.test.js b/src/App.test.js index e90d3bf..83719a1 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -1,14 +1,9 @@ import React from "react"; -import { TestContext } from "ra-test"; import { shallow } from "enzyme"; import App from "./App"; describe("App", () => { it("renders", () => { - shallow( - - - - ); + shallow(); }); });