Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
acnormun committed Dec 2, 2024
1 parent b508642 commit 3708870
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/solutions/__tests__/SolutionCard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@ const PopoverStub = {
'<section><slot name="default"></slot><slot name="children"></slot></section>',
};

vi.mock('vue-i18n', () => ({
useI18n: () => ({
t: (key: string) => key,
te: () => false,
}),
}));

describe('SolutionCard', () => {
let wrapper: ReturnType<typeof setup>;

describe('when solution is available to integrate', () => {
beforeEach(() => {
wrapper = setup(SolutionCard, {
props: {
uuid: '123',
title: 'Solution title',
description: 'Solution description',
},
Expand Down

0 comments on commit 3708870

Please sign in to comment.