diff --git a/packages/babel-plugin-jsx/test/snapshot.test.ts b/packages/babel-plugin-jsx/test/snapshot.test.ts index a68a13e..8c7dc25 100644 --- a/packages/babel-plugin-jsx/test/snapshot.test.ts +++ b/packages/babel-plugin-jsx/test/snapshot.test.ts @@ -307,17 +307,17 @@ pragmaTests.forEach(({ const isCustomElementTests = [{ name: 'isCustomElement', - from: 'foo' -}] + from: 'foo', +}]; -isCustomElementTests.forEach(({name, from }) => { +isCustomElementTests.forEach(({ name, from }) => { test( name, async () => { - expect(await transpile(from, { isCustomElement: tag => tag === 'foo' })).toMatchSnapshot(name); - } - ) -}) + expect(await transpile(from, { isCustomElement: (tag) => tag === 'foo' })).toMatchSnapshot(name); + }, + ); +}); const fragmentTests = [{ name: '_Fragment already imported', @@ -325,10 +325,10 @@ const fragmentTests = [{ import { Fragment as _Fragment } from 'vue' const Root1 = () => <>root1 const Root2 = () => <_Fragment>root2 - ` + `, }]; -fragmentTests.forEach(({ name, from}) => { +fragmentTests.forEach(({ name, from }) => { test( name, async () => {