From f6e3106baca89bd32e0eae657e4e99fad08793e7 Mon Sep 17 00:00:00 2001 From: phoebus-84 <83974413+phoebus-84@users.noreply.github.com> Date: Thu, 20 Jun 2024 16:47:00 +0200 Subject: [PATCH] fix: activity card tests (#102) --- src/components/activity-card/activity.stories.ts | 1 - .../activity-card/test/d-activity-card.spec.tsx | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/components/activity-card/activity.stories.ts b/src/components/activity-card/activity.stories.ts index 3c05c80..14c8a8c 100644 --- a/src/components/activity-card/activity.stories.ts +++ b/src/components/activity-card/activity.stories.ts @@ -26,7 +26,6 @@ type Story = StoryObj; export const Default: Story = { args: { name: 'Proof of humanity is expired', - // placeholder logo logo: 'https://via.placeholder.com/150', message: 'Proof of humanity is expired', description: 'Your proof of humanity has expired. Please renew it if you need it.', diff --git a/src/components/activity-card/test/d-activity-card.spec.tsx b/src/components/activity-card/test/d-activity-card.spec.tsx index 9d7d5ad..1952493 100644 --- a/src/components/activity-card/test/d-activity-card.spec.tsx +++ b/src/components/activity-card/test/d-activity-card.spec.tsx @@ -10,7 +10,20 @@ describe('d-activity-card', () => { expect(page.root).toEqualHtml(` - +
+ +
+

+ +
+ + +
+
+ +
+
+
`);