Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/__tests__/Article.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ import Article from "../components/Article";
test("displays the text 'please pass this test'", () => {
render(<Article />);



expect(screen.queryByText("please pass this test")).toBeInTheDocument();
});
2 changes: 1 addition & 1 deletion src/components/Article.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
function Article() {
return (
<div>
{/* please pass this test */}
return <h1>please pass this test</h1>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Header(props) {
return (
<h1>
{/* uncomment the line below to pass the test */}
{/* hello from the Header! */}
return <h1>hello from the Header!</h1>;
</h1>
)
}
Expand Down