diff --git a/apps/app/src/components-v2/shared/__tests__/AppDialog.spec.ts b/apps/app/src/components-v2/shared/__tests__/AppDialog.spec.ts index 405c3261..f030bdc0 100644 --- a/apps/app/src/components-v2/shared/__tests__/AppDialog.spec.ts +++ b/apps/app/src/components-v2/shared/__tests__/AppDialog.spec.ts @@ -37,7 +37,12 @@ import AppDialog from '@/components-v2/shared/AppDialog.vue' * without inspecting internal Vue internals. */ const DialogStub = defineComponent({ - name: 'Dialog', + // Not `name: 'Dialog'` — is a native HTML element and + // vue/no-reserved-component-names (error) forbids it. VTU matches this + // stub via the `stubs: { Dialog: DialogStub }` key (AppDialog's import + // name) and `findComponent(DialogStub)` by reference, NOT this `name`, + // so renaming it here is behaviour-neutral. + name: 'DialogStub', props: { visible: { type: Boolean, default: false }, modal: { type: Boolean, default: false },