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(({
307307
308308const isCustomElementTests = [ {
309309 name : 'isCustomElement' ,
310- from : '<foo><span>foo</span></foo>'
311- } ]
310+ from : '<foo><span>foo</span></foo>' ,
311+ } ] ;
312312
313- isCustomElementTests . forEach ( ( { name, from } ) => {
313+ isCustomElementTests . forEach ( ( { name, from } ) => {
314314 test (
315315 name ,
316316 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+ } ) ;
321321
322322const fragmentTests = [ {
323323 name : '_Fragment already imported' ,
324324 from : `
325325 import { Fragment as _Fragment } from 'vue'
326326 const Root1 = () => <>root1</>
327327 const Root2 = () => <_Fragment>root2</_Fragment>
328- `
328+ ` ,
329329} ] ;
330330
331- fragmentTests . forEach ( ( { name, from} ) => {
331+ fragmentTests . forEach ( ( { name, from } ) => {
332332 test (
333333 name ,
334334 async ( ) => {
You can’t perform that action at this time.
0 commit comments