Skip to content

Commit 85ffbc3

Browse files
author
Hannah Dunsmore
committed
added MissionManifest test file
1 parent c57ff46 commit 85ffbc3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from "react";
2+
import { render, screen } from "@testing-library/react";
3+
import App from "../../App";
4+
import MissionManifest from "./MissionManifest";
5+
6+
test("renders learn react link", () => {
7+
render(<App />);
8+
const linkElement = screen.getByText(/learn react/i);
9+
expect(linkElement).toBeInTheDocument();
10+
});

0 commit comments

Comments
 (0)