@@ -746,7 +746,7 @@ test('@mdx-js/mdx: compile', async function (t) {
746
746
assert . deepEqual (
747
747
// @ts -expect-error: `_source` is untyped but exists.
748
748
developmentSourceNode . _source ,
749
- { fileName : 'path/to/file.js' , lineNumber : 1 , columnNumber : 1 }
749
+ { fileName : 'path/to/file.js' }
750
750
)
751
751
}
752
752
)
@@ -1166,7 +1166,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1166
1166
'}' ,
1167
1167
'export default function MDXContent(props = {}) {' ,
1168
1168
' const {wrapper: MDXLayout} = props.components || ({});' ,
1169
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1169
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1170
1170
'}' ,
1171
1171
''
1172
1172
] . join ( '\n' )
@@ -1184,7 +1184,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1184
1184
'}' ,
1185
1185
'export default function MDXContent(props = {}) {' ,
1186
1186
' const {wrapper: MDXLayout} = props.components || ({});' ,
1187
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1187
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1188
1188
'}' ,
1189
1189
''
1190
1190
] . join ( '\n' )
@@ -1207,7 +1207,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1207
1207
'}' ,
1208
1208
'export default function MDXContent(props = {}) {' ,
1209
1209
' const {wrapper: MDXLayout} = props.components || ({});' ,
1210
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1210
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1211
1211
'}' ,
1212
1212
'function _missingMdxReference(id, component) {' ,
1213
1213
' throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it.");' ,
@@ -1230,7 +1230,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1230
1230
'}' ,
1231
1231
'export default function MDXContent(props = {}) {' ,
1232
1232
' const {wrapper: MDXLayout} = props.components || ({});' ,
1233
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1233
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1234
1234
'}' ,
1235
1235
''
1236
1236
] . join ( '\n' )
@@ -1254,7 +1254,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1254
1254
'}' ,
1255
1255
'export default function MDXContent(props = {}) {' ,
1256
1256
' const {wrapper: MDXLayout} = props.components || ({});' ,
1257
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1257
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1258
1258
'}' ,
1259
1259
''
1260
1260
] . join ( '\n' )
@@ -1277,7 +1277,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1277
1277
'}' ,
1278
1278
'export default function MDXContent(props = {}) {' ,
1279
1279
' const {wrapper: MDXLayout} = props.components || ({});' ,
1280
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1280
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1281
1281
'}' ,
1282
1282
''
1283
1283
] . join ( '\n' )
@@ -1343,7 +1343,7 @@ test('@mdx-js/mdx: compile (JSX)', async function (t) {
1343
1343
' ..._provideComponents(),' ,
1344
1344
' ...props.components' ,
1345
1345
' };' ,
1346
- ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent( props) ;' ,
1346
+ ' return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : < _createMdxContent {... props} /> ;' ,
1347
1347
'}' ,
1348
1348
''
1349
1349
] . join ( '\n' )
0 commit comments