Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Exhaustively test and fix formatAs12HourClock

Aperta
#1,620 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Submit:PR

https://github.com/CodeYourFuture/Module-Structuring-and-Testing-Data/tree/main/format-clock-edge-cases

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CodeYourFuture/Module-Structuring-and-Testing-Data

Tutte le issue di CodeYourFuture/Module-Structuring-and-Testing-Data

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.