diff --git a/types/__tests__/type-tests.ts b/types/__tests__/type-tests.ts index 4f3dc5a93..a7319ee4a 100644 --- a/types/__tests__/type-tests.ts +++ b/types/__tests__/type-tests.ts @@ -27,7 +27,6 @@ export async function testQueries() { // element queries const element = document.createElement('div') getByText(element, 'foo') - getByText(element, 1) queryByText(element, 'foo') await findByText(element, 'foo') await findByText(element, 'foo', undefined, {timeout: 10})