Exhaustively test and fix formatAs12HourClock
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript
- Domaine
- testing
Piste de recherche
Open the format-clock-edge-cases directory from the linked preparation material and locate the formatAs12HourClock implementation and its existing tests. Start by reviewing the current cases, then add tests covering valid-input edge cases and use them to guide the fix; done means all valid inputs produce the correct 12-hour format.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
In the prep, we looked at a formatAs12HourClock function, and we fixed some bugs in it.
It still has bugs. Think of as many edge-cases as you can with this code. Write tests for all of them, and fix this code so that it works correctly for all valid inputs. You don't need to worry about invalid inputs (e.g. "25:00").
- Langage dominant
- JavaScript
- Étoiles
- 0
- Forks
- 397
- Merge moyen
- 1 min
- PR mergées (30 j)
- 1
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CodeYourFuture/Module-Structuring-and-Testing-Data
-
🏕 Priority Mandatory 📅 Sprint 1 Core Submit:None
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
-
Complete the mid-way survey Ouverte🏕 Priority Mandatory 📅 Sprint 3 Core Module-Structuring-And-Testing-Data Submit:None 🦔 Size Tiny
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
-
:gear: bug 📅 Sprint 3 Module-Structuring-And-Testing-Data NotCoursework
Difficulté 2/5 1-3 heures Accessibilité débutants 50/100
-
🏕 Priority Mandatory 📅 Sprint 1 Core Module-Structuring-And-Testing-Data Submit:None 🦔 Size Tiny
Difficulté 1/5 Moins d'une heure Accessibilité débutants 35/100
-
Refactoring Dead Code Ouverte🏝️ Priority Stretch 🐇 Size Small 📅 Sprint 3 Module-Structuring-And-Testing-Data Submit:PR
Difficulté 2/5 Moins d'une heure Accessibilité débutants 55/100
Toutes les issues de CodeYourFuture/Module-Structuring-and-Testing-Data
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
mksglu/context-mode#1200 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
neondatabase/website#5944 ·
-
module: core
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
jaegertracing/jaeger-ui#4506 ·