diff --git a/src/components/ec-menu/__snapshots__/ec-menu.spec.ts.snap b/src/components/ec-menu/__snapshots__/ec-menu.spec.ts.snap index 065f8888c..a2bdc76f4 100644 --- a/src/components/ec-menu/__snapshots__/ec-menu.spec.ts.snap +++ b/src/components/ec-menu/__snapshots__/ec-menu.spec.ts.snap @@ -1,5 +1,52 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html +exports[`EcMenu > @events > should propagate the event from the navigation link 1`] = ` +
+`; + exports[`EcMenu > should attach custom listeners passed in the link definition 1`] = ` @@ -37,6 +38,10 @@ import { computed } from 'vue'; import EcNavigationLink from '../ec-navigation-link'; import type { MenuLink, MenuProps } from './types'; +const emit = defineEmits<{ + 'navigation-link-clicked': [], +}>(); + const props = withDefaults(defineProps