diff --git a/src/tests/utils.ts b/src/tests/utils.ts index 2ff89d7..b039cf7 100644 --- a/src/tests/utils.ts +++ b/src/tests/utils.ts @@ -9,6 +9,8 @@ export const setup = (...args: Parameters) => { return mount(component, { props: options?.props, + slots: { ...(options?.slots || {}) }, + global: { mocks: { $t: (key: string) => key,