Skip to content

Commit 37a1e37

Browse files
authored
Update compileScript.spec.ts
1 parent 1bf1ebd commit 37a1e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/__tests__/compileScript.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,8 +1276,8 @@ const emit = defineEmits(['a', 'b'])
12761276
expect(content).toMatch(`emit: ({ (e: 'foo' | 'bar'): void }),`)
12771277
expect(content).toMatch(`emits: ["foo", "bar"]`)
12781278
})
1279-
12801279

1280+
12811281
test('defineEmits w/ type from normal script', () => {
12821282
const { content } = compile(`
12831283
<script lang="ts">

0 commit comments

Comments
 (0)