mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Update lint
This commit is contained in:
parent
24682e4c51
commit
6c3e72a9c8
1 changed files with 3 additions and 4 deletions
|
|
@ -93,9 +93,7 @@ describe("CommandPalette", () => {
|
|||
await user.keyboard("{Escape}");
|
||||
|
||||
await waitFor(() => {
|
||||
expect(
|
||||
screen.queryByPlaceholderText(/search/i)
|
||||
).not.toBeInTheDocument();
|
||||
expect(screen.queryByPlaceholderText(/search/i)).not.toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -106,7 +104,8 @@ describe("CommandPalette", () => {
|
|||
|
||||
await waitFor(() => {
|
||||
expect(
|
||||
screen.getByPlaceholderText(/search/i)
|
||||
screen
|
||||
.getByPlaceholderText(/search/i)
|
||||
.closest(".command-palette__input-wrapper")
|
||||
?.querySelector(".command-palette__input-icon")
|
||||
).toBeInTheDocument();
|
||||
|
|
|
|||
Loading…
Reference in a new issue