Skip to content

Commit

Permalink
fix: quick fix for failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Feist committed Jan 9, 2025
1 parent edc38e1 commit 33d7889
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mount } from '@vue/test-utils';
import { UiPurchaseCard }from '#components';
import { UiPurchaseCard } from '#components';
import type { ReviewCounts } from '@plentymarkets/shop-api';
import { ProductMock } from '../../../../__tests__/__mocks__/product.mock';

Expand All @@ -8,7 +8,13 @@ describe('<PurchaseCard />', () => {
const wrapper = mount(UiPurchaseCard, {
props: {
product: ProductMock,
reviewAverage: {} as ReviewCounts
reviewAverage: {} as ReviewCounts,
},
global: {
stubs: {
PayPalExpressButton: true,
PayPalPayLaterBanner: true,
},
},
});

Expand Down

0 comments on commit 33d7889

Please sign in to comment.