1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports [` commentAtTop.react. res 1` ] = `
3
+ exports [` commentAtTop.res 1` ] = `
4
4
"@bs.obj
5
5
external makeProps: (~msg: 'msg, ~key: string=?, unit) => { \\" msg\\ " : ' msg} = \\ "\\ " // test React JSX file
6
6
@@ -9,14 +9,13 @@ let make =
9
9
ReactDOMRe .createDOMElementVariadic (\\" div\\ " , [{msg->React.string }])
10
10
}
11
11
let make = {
12
- let \\\\\\"CommentAtTop.react\\" = (\\\\\\"Props \\": {\\" msg\\ " : ' msg}) =>
13
- make(~msg = \\\\\\" Props\\ " [\\" msg\\ " ])
14
- \\\\\\"CommentAtTop.react\\"
12
+ let \\\\\\"CommentAtTop\\" = (\\\\\\"Props \\": {\\" msg\\ " : ' msg}) => make(~msg=\\\\\\ "Props\\ "[\\ "msg\\ "])
13
+ \\\\\\"CommentAtTop\\"
15
14
}
16
15
"
17
16
`;
18
17
19
- exports [`innerModule .react . res 1`] = `
18
+ exports [`innerModule .res 1`] = `
20
19
"module Bar = {
21
20
@bs .obj
22
21
external makeProps : (
@@ -31,9 +30,9 @@ exports[`innerModule.react.res 1`] = `
31
30
ReactDOMRe .createDOMElementVariadic (\\" div\\ " , [])
32
31
}
33
32
let make = {
34
- let \\\\\\"InnerModule.react $Bar\\" = (\\\\\\"Props \\": {\\" a\\ " : ' a, \\ "b\\ ": ' b }) =>
33
+ let \\\\\\"InnerModule$Bar\\" = (\\\\\\"Props \\": {\\" a\\ " : ' a, \\ "b\\ ": ' b }) =>
35
34
make(~b = \\\\\\" Props\\ " [\\" b\\ " ], ~a = \\\\\\" Props\\ " [\\" a\\ " ], ())
36
- \\\\\\"InnerModule.react $Bar\\"
35
+ \\\\\\"InnerModule$Bar\\"
37
36
}
38
37
@bs .obj
39
38
external componentProps : (
@@ -49,15 +48,15 @@ exports[`innerModule.react.res 1`] = `
49
48
ReactDOMRe .createDOMElementVariadic (\\" div\\ " , [])
50
49
}
51
50
let component = {
52
- let \\\\\\"InnerModule.react $Bar$component\\" = (\\\\\\"Props \\": {\\" a\\ " : ' a, \\ "b\\ ": ' b }) =>
51
+ let \\\\\\"InnerModule$Bar$component\\" = (\\\\\\"Props \\": {\\" a\\ " : ' a, \\ "b\\ ": ' b }) =>
53
52
component(~b = \\\\\\" Props\\ " [\\" b\\ " ], ~a = \\\\\\" Props\\ " [\\" a\\ " ], ())
54
- \\\\\\"InnerModule.react $Bar$component\\"
53
+ \\\\\\"InnerModule$Bar$component\\"
55
54
}
56
55
}
57
56
"
58
57
`;
59
58
60
- exports [` topLevel.react. res 1` ] = `
59
+ exports [` topLevel.res 1` ] = `
61
60
"@bs.obj
62
61
external makeProps: (
63
62
~a: 'a,
@@ -71,9 +70,9 @@ let make =
71
70
ReactDOMRe .createDOMElementVariadic (\\" div\\ " , [])
72
71
}
73
72
let make = {
74
- let \\\\\\" TopLevel.react \\ " = (\\\\\\"Props \\": {\\" a\\ " : ' a, \\ "b\\ ": ' b }) =>
73
+ let \\\\\\" TopLevel\\ " = (\\\\\\"Props \\": {\\" a\\ " : ' a, \\ "b\\ ": ' b }) =>
75
74
make (~ b = \\\\\\" Props\\ " [\\" b\\ " ], ~ a = \\\\\\" Props\\ " [\\" a\\ " ], ())
76
- \\\\\\" TopLevel.react \\ "
75
+ \\\\\\" TopLevel\\ "
77
76
}
78
77
"
79
78
` ;
0 commit comments