Skip to content

Commit

Permalink
test(utils): adds slots prop
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantela committed Sep 26, 2024
1 parent 76a3f4c commit fb25549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export const setup = (...args: Parameters<typeof mount>) => {
return mount(component, {
props: options?.props,

slots: { ...(options?.slots || {}) },

global: {
mocks: {
$t: (key: string) => key,
Expand Down

0 comments on commit fb25549

Please sign in to comment.