From 17c1d3d2070ee0c060c3e71a9e5868f004b2b034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= Date: Tue, 16 May 2023 19:52:29 -0600 Subject: Start point. Visit https://github.com/nvh95/vite-react-template-redux to see original template. --- src/App.test.jsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/App.test.jsx (limited to 'src/App.test.jsx') diff --git a/src/App.test.jsx b/src/App.test.jsx new file mode 100644 index 0000000..e4874f8 --- /dev/null +++ b/src/App.test.jsx @@ -0,0 +1,15 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import { Provider } from "react-redux"; +import { store } from "./app/store"; +import App from "./App"; + +test("renders learn react link", () => { + const { getByText } = render( + + + + ); + + expect(getByText(/learn/i)).toBeInTheDocument(); +}); -- cgit v1.2.3