Skip to content

Commit b283103

Browse files
committed
test: update CompareClient test suite
1 parent 2e604a1 commit b283103

2 files changed

Lines changed: 45 additions & 14 deletions

File tree

app/compare/CompareClient.test.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ describe('CompareClient', () => {
109109
);
110110
});
111111

112+
it('renders username inputs', () => {
113+
render(<CompareClient />);
114+
115+
expect(screen.getByPlaceholderText(/github username #1/i)).toBeInTheDocument();
116+
expect(screen.getByPlaceholderText(/github username #2/i)).toBeInTheDocument();
117+
});
118+
112119
it('renders comparison page', () => {
113120
render(<CompareClient />);
114121

package-lock.json

Lines changed: 38 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)