toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-dom-test-utils
/
react.dom.test
Package-level
declarations
Functions
Functions
create
Root
Link copied to clipboard
suspend
fun
createRoot
(
container
:
HTMLElement
,
component
:
FC
<
Props
>
)
:
Root
run
React
Test
Link copied to clipboard
fun
runReactTest
(
testBody
:
suspend
TestScope
.
(
container
:
HTMLElement
)
->
Unit
)
:
TestResult
fun
runReactTest
(
component
:
FC
<
Props
>
,
testBody
:
suspend
TestScope
.
(
container
:
HTMLElement
)
->
Unit
)
:
TestResult
unmount
Link copied to clipboard
suspend
fun
unmount
(
root
:
Root
)