Skip to content

Commit

Permalink
fix: cleanup functionality broken for stories from recent work
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Dec 17, 2024
1 parent 0fffe4a commit abbe776
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ setup((app) => {
});

app.provide('$kvTrackEvent', () => { });

app.provide('$appConfig', { photoPath: 'https://www.development.kiva.org/img/' });
});

// add custom viewports
Expand Down
3 changes: 3 additions & 0 deletions .storybook/stories/ThanksBadges.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,23 @@ export const UserLoggedInOptedInThreeLoans = story({
});

export const BadgeOld = story({
isGuest: false,
lender: mockLender,
loans: mockLoans,
receipt: mockedReceiptData,
badgesAchieved: [mockOldBadge],
});

export const BadgeTiered = story({
isGuest: false,
lender: mockLender,
loans: mockLoans,
receipt: mockedReceiptData,
badgesAchieved: [mockTieredBadge],
});

export const BadgeMultiple = story({
isGuest: false,
lender: mockLender,
loans: mockLoans,
receipt: mockedReceiptData,
Expand Down

0 comments on commit abbe776

Please sign in to comment.