File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
test/src/main/scala/japgolly/scalajs/react/test Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11package japgolly .scalajs .react
22
3- import scala .scalajs .js .Object
3+ import scala .scalajs .js .{ Object , UndefOr }
44
55package object test {
66
@@ -11,6 +11,9 @@ package object test {
1111 @ inline final implicit def RTUSKeyboardEventData (d : KeyboardEventData ): Object = d.toJs
1212 @ inline final implicit def RTUSMouseEventData (d : MouseEventData ): Object = d.toJs
1313
14+ @ inline final implicit def autoUnboxRefsInTests [T <: TopNode ](r : UndefOr [ReactComponentM_ [T ]]) = r.get
15+ @ inline final implicit def autoUnboxRefsInTestsC [T <: TopNode ](r : UndefOr [ReactComponentM_ [T ]]): ComponentOrNode = r.get
16+
1417// implicit final class RTUSimulateExt(val u: Simulate) extends AnyVal {
1518// def change(t: ComponentOrNode, newValue: String) = u.change(t, ChangeEventData(value = newValue))
1619// }
You can’t perform that action at this time.
0 commit comments