Skip to content

Commit

Permalink
fix test for updated development branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarf committed May 21, 2024
1 parent dff8be2 commit 8f6f1d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/tests/AssignTesterDropdown.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ describe('AssignTesterDropdown', () => {
});

await waitFor(async () => {
const items = await screen.queryAllByText(/NVDA Bot/);
expect(items).toHaveLength(0);
const items = await screen.queryByText(/NVDA Bot/);
expect(items).toBeNull(0);
});

await waitFor(async () => {
const items = await screen.queryAllByText(/VoiceOver Bot/);
expect(items).toHaveLength(2); // One for display, one for sr-only
expect(items).toHaveLength(1);
});
});

Expand Down

0 comments on commit 8f6f1d0

Please sign in to comment.