Skip to content
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

Merged
merged 14 commits into from
Sep 13, 2022

Conversation

adgeg
Copy link
Contributor

@adgeg adgeg commented Sep 13, 2022

No description provided.

@adgeg adgeg force-pushed the fix/969-vue-rdv-conseiller-créer-un-rdv-la-veille-ko branch from b835ce3 to 23ca50c Compare September 13, 2022 13:39
services/rendez-vous.service.ts Outdated Show resolved Hide resolved
pages/mes-rendezvous.tsx Outdated Show resolved Hide resolved
pages/mes-rendezvous.tsx Outdated Show resolved Hide resolved
pages/mes-rendezvous.tsx Outdated Show resolved Hide resolved
pages/mes-rendezvous.tsx Outdated Show resolved Hide resolved
pages/mes-rendezvous.tsx Outdated Show resolved Hide resolved
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))
Copy link
Contributor

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 [].

Copy link
Contributor Author

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…

Copy link
Contributor

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 ? 🤔

Copy link
Contributor Author

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

Copy link
Contributor

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.

pages/mes-rendezvous.tsx Outdated Show resolved Hide resolved
services/rendez-vous.service.ts Show resolved Hide resolved
tests/pages/MesRendezvous.page.test.tsx Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Sep 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

96.9% 96.9% Coverage
0.0% 0.0% Duplication

@adgeg adgeg merged commit 0b34612 into develop Sep 13, 2022
@adgeg adgeg deleted the fix/969-vue-rdv-conseiller-créer-un-rdv-la-veille-ko branch September 13, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants