mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-09 16:24:51 +00:00
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
This commit is contained in:
parent
10831796e3
commit
c8082a7198
1 changed files with 1 additions and 6 deletions
|
@ -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(
|
||||
<TestContext>
|
||||
<App />
|
||||
</TestContext>
|
||||
);
|
||||
shallow(<App />);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue