
Enzyme is not compatible with react 17. Change-Id: If9bca2c482bfe10a18d2ee2bc213dab966849b5b
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
import React from "react";
|
|
import { render } from "@testing-library/react";
|
|
import { TestContext } from "ra-test";
|
|
import LoginPage from "./LoginPage";
|
|
|
|
describe("LoginForm", () => {
|
|
it("renders", () => {
|
|
render(
|
|
<TestContext>
|
|
<LoginPage />
|
|
</TestContext>
|
|
);
|
|
});
|
|
});
|