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}) } /*