File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
packages/babel-plugin-jsx/test Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -307,28 +307,28 @@ pragmaTests.forEach(({
307
307
308
308
const isCustomElementTests = [ {
309
309
name : 'isCustomElement' ,
310
- from : '<foo><span>foo</span></foo>'
311
- } ]
310
+ from : '<foo><span>foo</span></foo>' ,
311
+ } ] ;
312
312
313
- isCustomElementTests . forEach ( ( { name, from } ) => {
313
+ isCustomElementTests . forEach ( ( { name, from } ) => {
314
314
test (
315
315
name ,
316
316
async ( ) => {
317
- expect ( await transpile ( from , { isCustomElement : tag => tag === 'foo' } ) ) . toMatchSnapshot ( name ) ;
318
- }
319
- )
320
- } )
317
+ expect ( await transpile ( from , { isCustomElement : ( tag ) => tag === 'foo' } ) ) . toMatchSnapshot ( name ) ;
318
+ } ,
319
+ ) ;
320
+ } ) ;
321
321
322
322
const fragmentTests = [ {
323
323
name : '_Fragment already imported' ,
324
324
from : `
325
325
import { Fragment as _Fragment } from 'vue'
326
326
const Root1 = () => <>root1</>
327
327
const Root2 = () => <_Fragment>root2</_Fragment>
328
- `
328
+ ` ,
329
329
} ] ;
330
330
331
- fragmentTests . forEach ( ( { name, from} ) => {
331
+ fragmentTests . forEach ( ( { name, from } ) => {
332
332
test (
333
333
name ,
334
334
async ( ) => {
You can’t perform that action at this time.
0 commit comments