Skip to content

Commit 0dd6def

Browse files
committed
chore: fix lint
1 parent e1c239b commit 0dd6def

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/core/vue2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { isTS } from './utils'
77
import type { TransformOptions } from '@babel/core'
88
import type { OptionsResolved } from './options'
99

10-
export const transformVue2 = async (
10+
export const transformVue2 = (
1111
code: string,
1212
id: string,
1313
options: OptionsResolved

src/core/vue3.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { isTS } from './utils'
66
import type { TransformOptions } from '@babel/core'
77
import type { OptionsResolved } from './options'
88

9-
export const transformVue3 = async (
9+
export const transformVue3 = (
1010
code: string,
1111
id: string,
1212
options: OptionsResolved

tests/vue2.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const transform = async (code: string, userOptions: Options = {}) => {
1111
return (await transformVue2(code, 'foo.tsx', options))?.code
1212
}
1313

14-
describe('Vue 2', async () => {
14+
describe('Vue 2', () => {
1515
test('basic', async () => {
1616
expect(await transform('<div />')).toMatchSnapshot()
1717
expect(await transform('<div key="1" />')).toMatchSnapshot()

tests/vue3.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const transform = async (
1616
?.code
1717
}
1818

19-
describe('Vue 3', async () => {
19+
describe('Vue 3', () => {
2020
test('basic', async () => {
2121
expect(await transform('<div />')).toMatchSnapshot()
2222
expect(await transform('<div key="1" />')).toMatchSnapshot()

0 commit comments

Comments
 (0)