Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 75e0111

Browse files
authored
fix: Add cleanup type (testing-library#186)
1 parent b762198 commit 75e0111

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎types/index.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ import {
1515
// NOTE: fireEvent is overridden below
1616
export * from '@testing-library/dom'
1717

18+
export function cleanup(): void
19+
1820
export interface RenderResult extends BoundFunctions<typeof queries> {
1921
container: Element
2022
baseElement: Element

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /