Exhaustively test and fix formatAs12HourClock
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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").
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 397
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CodeYourFuture/Module-Structuring-and-Testing-Data
-
🏕 Priority Mandatory 📅 Sprint 1 Core Submit:None
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
Complete the mid-way survey Aperta🏕 Priority Mandatory 📅 Sprint 3 Core Module-Structuring-And-Testing-Data Submit:None 🦔 Size Tiny
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
:gear: bug 📅 Sprint 3 Module-Structuring-And-Testing-Data NotCoursework
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
-
🏕 Priority Mandatory 📅 Sprint 1 Core Module-Structuring-And-Testing-Data Submit:None 🦔 Size Tiny
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 35/100
-
Refactoring Dead Code Aperta🏝️ Priority Stretch 🐇 Size Small 📅 Sprint 3 Module-Structuring-And-Testing-Data Submit:PR
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 55/100
Tutte le issue di CodeYourFuture/Module-Structuring-and-Testing-Data
Issue simili
-
bug customer-eng Durable Agents Inngest status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
optimization optimization:agents-md-curator
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
githubnext/gh-aw-cao#13475 ·
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
AOSSIE-Org/OrgExplorer#253 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
oxc-project/oxc#26944 ·
-
ai-observability bug team/ai-observability
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100