Kotlin Wrappers API Reference
Toggle table of contents
js
Platform filter
js
Switch theme
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
)