-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(969): Page rendez-vous > gestion des borne inclues #517
The head ref may contain hidden characters: "fix/969-vue-rdv-conseiller-cr\u00E9er-un-rdv-la-veille-ko"
fix(969): Page rendez-vous > gestion des borne inclues #517
Conversation
Due to complexity to put browser timezone in Next.js calls, we do not make initial call on server side
b835ce3
to
23ca50c
Compare
pages/mes-rendezvous.tsx
Outdated
setDebutPeriode(DEBUT_RDVS_FUTURS.toFormat('dd/MM/yyyy')) | ||
setFinPeriode(FIN_RDVS_FUTURS.toFormat('dd/MM/yyyy')) | ||
setTrackingTitle(`${trackingTitle} futurs`) | ||
if (rdvsSemaine) setRdvs(rdvsSemaine.map(rdvToListItem)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas besoin du if
vue que le méthode renvoie toujours au moins []
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ben justement, dans les tests ça me pétait sans ça…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est peut-être le mock dans le test qui est mal écrit ? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu pourras tester, mais j'en ai vraiment besoin, sinon un test pête
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai corrigé en réorganisant un peu les tests, j'ai pas trop réussi à savoir ce qui merdait.
Kudos, SonarCloud Quality Gate passed! |
No description provided.