From fb25549602b56cfb8813137fb79dad72c95feb54 Mon Sep 17 00:00:00 2001 From: Matheus Cristian Date: Thu, 26 Sep 2024 20:39:46 -0300 Subject: [PATCH] test(utils): adds slots prop --- src/tests/utils.ts | 2 ++ 1 file changed, 2 insertions(+) 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,