Skip to content

Commit 6f0282f

Browse files
committed
style: lint
1 parent 35780fd commit 6f0282f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/babel-plugin-jsx/test/snapshot.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -307,28 +307,28 @@ pragmaTests.forEach(({
307307

308308
const 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

322322
const 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 () => {

0 commit comments

Comments
 (0)