From a730e8b3f01770be5ad6bd2cd932457714cf6e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C2=AA=20Rita=20Lopes?= Date: Sat, 16 Nov 2024 15:52:00 +0000 Subject: [PATCH] Fixed storrybook test --- .../(app)/events/_components/event-hexagon.stories.ts | 8 ++------ .../team/_components/team-member-hexagon.stories.ts | 9 ++------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/src/routes/(app)/events/_components/event-hexagon.stories.ts b/src/routes/(app)/events/_components/event-hexagon.stories.ts index a818326..c9ed10f 100644 --- a/src/routes/(app)/events/_components/event-hexagon.stories.ts +++ b/src/routes/(app)/events/_components/event-hexagon.stories.ts @@ -28,14 +28,10 @@ export const SingleDateHexagon = { args: { data: { title: 'Jantar de Curso', - description: 'Muito fixeeeeeeeeeeeeeeee', + description: 'Muito fixe', teamMemberIds: [], registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', - - dateInterval: { - startDate: '2023-12-10T00:00:00.000Z' - }, - + dateInterval: { startDate: new Date('2023-12-10') }, location: 'Cervejaria Diu', thumbnailPath: 'images/previews/evento.png' } diff --git a/src/routes/(app)/team/_components/team-member-hexagon.stories.ts b/src/routes/(app)/team/_components/team-member-hexagon.stories.ts index aee5914..0973d41 100644 --- a/src/routes/(app)/team/_components/team-member-hexagon.stories.ts +++ b/src/routes/(app)/team/_components/team-member-hexagon.stories.ts @@ -83,16 +83,11 @@ export const DefaultIconHexagon = { data: { name: 'Bruno Rosendo', email: 'brunorosendo@gmail.com', - role: 'Co-Gestor de Projetosssssssssssssssssssss', + role: 'Co-Gestor de Projetos', photo: 'images/previews/bruno_rosendo.png', linkedin: 'https://pt.linkedin.com/', gitHub: 'https://github.com/', - - websites: [ - { - url: 'https://www.facebook.com/' - } - ] + websites: [{ url: 'https://www.facebook.com/' }] } } };