From 43e7464c158a2f66bc12453d7ec201b1757b6831 Mon Sep 17 00:00:00 2001 From: Mathias Soeholm Date: Sat, 19 Dec 2020 18:39:28 +0100 Subject: [PATCH] Remove test that makes type checking fail --- types/__tests__/type-tests.ts | 1 - 1 file changed, 1 deletion(-) 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})