mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-26 00:03:17 +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 React from "react";
|
||||||
import { TestContext } from "ra-test";
|
|
||||||
import { shallow } from "enzyme";
|
import { shallow } from "enzyme";
|
||||||
import App from "./App";
|
import App from "./App";
|
||||||
|
|
||||||
describe("App", () => {
|
describe("App", () => {
|
||||||
it("renders", () => {
|
it("renders", () => {
|
||||||
shallow(
|
shallow(<App />);
|
||||||
<TestContext>
|
|
||||||
<App />
|
|
||||||
</TestContext>
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue