Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
terryttsai committed May 10, 2022
1 parent 5e41dd9 commit 7ef22e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotlight-client/src/App-auth.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ test("renders when authenticated and state_code is one of our tenants", async ()
const App = await getApp();
render(<App />);
await waitFor(() => {
const websiteName = screen.getByRole("heading", /North Dakota/i);
const websiteName = screen.getAllByRole("heading", /North Dakota/i)?.[0];
expect(websiteName).toBeInTheDocument();
});
});
Expand Down

0 comments on commit 7ef22e0

Please sign in to comment.