Skip to content

Commit

Permalink
test: add more test case
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 29, 2023
1 parent ebbc1a7 commit 3fa8617
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -14,6 +14,9 @@ const valids = [
'const foo = (() => {}) as any',
// allow iife
';(() => {})()',
// allow export default
'export default () => {}',
'export default defineConfig(() => {})',
]

const invalids = [
Expand Down

0 comments on commit 3fa8617

Please sign in to comment.