mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
1b06e46f71
* test(web): drop enzyme in favor of react-testing-library Enzyme is falling behind in maintenance, it is currently maintained by one primary developer and still does [not support React 17](https://github.com/enzymejs/enzyme/pull/2430) despite it being released in October 2020. [react-testing-library (RTL)](https://testing-library.com/docs) is [recommended by Facebook](https://reactjs.org/docs/test-utils.html#overview) and encourages writing tests that avoid testing implementation details. * build(deps): update react monorepo to v17 (major) * build(deps): remove @types/{enzyme,jest}
10 lines
172 B
TypeScript
10 lines
172 B
TypeScript
import React from "react";
|
|
|
|
import { render } from "@testing-library/react";
|
|
|
|
import App from "@root/App";
|
|
|
|
it("renders without crashing", () => {
|
|
render(<App />);
|
|
});
|