8000 chore: applied suggestions · podman-desktop/podman-desktop@a90a3cc · GitHub
[go: up one dir, main page]

Skip to content

Commit a90a3cc

Browse files
committed
chore: applied suggestions
Signed-off-by: Evzen Gasta <evzen.ml@seznam.cz>
1 parent 5b0da75 commit a90a3cc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/renderer/src/lib/dialogs/QuickPickInput.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,9 @@ describe('QuickPickInput', () => {
228228
}
229229
});
230230

231-
render(QuickPickInput, {});
232-
233-
const area = await screen.findByPlaceholderText('Some placeholder');
234-
expect(area).toBeInTheDocument();
231+
const { getByPlaceholderText } = render(QuickPickInput, {});
232+
const area = getByPlaceholderText('Some placeholder');
233+
expect(area).toBeInstanceOf(HTMLInputElement);
235234
expect(area).toHaveAttribute('type', type);
236235
});
237236

0 commit comments

Comments
 (0)
0