test: add more test case

This commit is contained in:
Anthony Fu 2023-03-30 01:08:42 +02:00
parent ebbc1a7f78
commit 3fa861730d

View File

@ -14,6 +14,9 @@ const valids = [
'const foo = (() => {}) as any',
// allow iife
';(() => {})()',
// allow export default
'export default () => {}',
'export default defineConfig(() => {})',
]
const invalids = [