From 9d8843f9e7b723a1a434b51f8516f021261a27da Mon Sep 17 00:00:00 2001 From: eps1lon Date: Sat, 15 Jan 2022 18:20:02 +0100 Subject: [PATCH] Test if we need one generic per re-assignment --- types/__tests__/type-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/__tests__/type-tests.ts b/types/__tests__/type-tests.ts index 1fe04572..7a3212cf 100644 --- a/types/__tests__/type-tests.ts +++ b/types/__tests__/type-tests.ts @@ -258,6 +258,8 @@ export async function testWithin() { let withinQueries = within(document.body) withinQueries = within(document.body) withinQueries.getByRole('button', {name: /click me/i}) + withinQueries = within(document.body) + withinQueries.getByRole('button', {name: /click me/i}) } /*