@@ -2,7 +2,7 @@ type undefined = Js.undefined<unit>
22
33let undefined : undefined = Js .Undefined .empty
44
5- @module ("react-dom/test-utils.js " )
5+ @module ("react-dom/test-utils" )
66external reactAct : ((. unit ) => undefined ) => unit = "act"
77
88let act : (unit => unit ) => unit = func => {
@@ -13,40 +13,40 @@ let act: (unit => unit) => unit = func => {
1313 reactAct (reactFunc )
1414}
1515
16- @module ("react-dom/test-utils.js " )
16+ @module ("react-dom/test-utils" )
1717external reactActAsync : ((. unit ) => Js .Promise .t <'a >) => Js .Promise .t <unit > = "act"
1818
1919let actAsync = func => {
2020 let reactFunc = (. ()) => func ()
2121 reactActAsync (reactFunc )
2222}
2323
24- @module ("react-dom/test-utils.js " )
24+ @module ("react-dom/test-utils" )
2525external isElement : 'element => bool = "isElement"
2626
27- @module ("react-dom/test-utils.js " )
27+ @module ("react-dom/test-utils" )
2828external isElementOfType : ('element , React .component <'props >) => bool = "isElementOfType"
2929
30- @module ("react-dom/test-utils.js " )
30+ @module ("react-dom/test-utils" )
3131external isDOMComponent : 'element => bool = "isDOMComponent"
3232
33- @module ("react-dom/test-utils.js " )
33+ @module ("react-dom/test-utils" )
3434external isCompositeComponent : 'element => bool = "isCompositeComponent"
3535
36- @module ("react-dom/test-utils.js " )
36+ @module ("react-dom/test-utils" )
3737external isCompositeComponentWithType : ('element , React .component <'props >) => bool =
3838 "isCompositeComponentWithType"
3939
4040module Simulate = {
41- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
41+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
4242 external click : Dom .element => unit = "click"
43- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
43+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
4444 external clickWithEvent : (Dom .element , 'event ) => unit = "click"
45- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
45+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
4646 external change : Dom .element => unit = "change"
47- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
47+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
4848 external blur : Dom .element => unit = "blur"
49- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
49+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
5050 external changeWithEvent : (Dom .element , 'event ) => unit = "change"
5151 let changeWithValue = (element , value ) => {
5252 let event = {
@@ -64,13 +64,13 @@ module Simulate = {
6464 }
6565 changeWithEvent (element , event )
6666 }
67- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
67+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
6868 external canPlay : Dom .element => unit = "canPlay"
69- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
69+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
7070 external timeUpdate : Dom .element => unit = "timeUpdate"
71- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
71+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
7272 external ended : Dom .element => unit = "ended"
73- @module ("react-dom/test-utils.js " ) @scope ("Simulate" )
73+ @module ("react-dom/test-utils" ) @scope ("Simulate" )
7474 external focus : Dom .element => unit = "focus"
7575}
7676
0 commit comments