test: add more test case
This commit is contained in:
parent
ebbc1a7f78
commit
3fa861730d
@ -14,6 +14,9 @@ const valids = [
|
|||||||
'const foo = (() => {}) as any',
|
'const foo = (() => {}) as any',
|
||||||
// allow iife
|
// allow iife
|
||||||
';(() => {})()',
|
';(() => {})()',
|
||||||
|
// allow export default
|
||||||
|
'export default () => {}',
|
||||||
|
'export default defineConfig(() => {})',
|
||||||
]
|
]
|
||||||
|
|
||||||
const invalids = [
|
const invalids = [
|
||||||
|
Loading…
Reference in New Issue
Block a user