]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: add missing snapshot
authorEvan You <yyx990803@gmail.com>
Tue, 22 Jun 2021 21:56:45 +0000 (17:56 -0400)
committerEvan You <yyx990803@gmail.com>
Tue, 22 Jun 2021 21:56:45 +0000 (17:56 -0400)
packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap

index 67e5856f2a8cc0e055408cbd615684f42db07b2b..41d5e26f717a060044634f9d4a3aba107ba00057 100644 (file)
@@ -54,6 +54,20 @@ return { a }
 }"
 `;
 
+exports[`SFC compile <script setup> defineEmit() (deprecated) 1`] = `
+"export default {
+  expose: [],
+  emits: ['foo', 'bar'],
+  setup(__props, { emit: myEmit }) {
+
+
+
+return { myEmit }
+}
+
+}"
+`;
+
 exports[`SFC compile <script setup> defineEmits() 1`] = `
 "export default {
   expose: [],