Skip to content

Commit 96b7537

Browse files
committed
add a hint of a test
1 parent d0fbd9d commit 96b7537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderStream/__tests__/createRenderStream.test.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ describe('snapshotDOM', () => {
4949
}
5050
{
5151
const {withinDOM} = await takeRender()
52-
const input = withinDOM().getByLabelText<HTMLInputElement>('Value')
52+
// a one-off to test that `queryBy` works and accepts a type argument
53+
const input = withinDOM().queryByLabelText<HTMLInputElement>('Value')!
5354
expect(input.value).toBe('1')
5455
}
5556
{

0 commit comments

Comments
 (0)