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

[test] Cover expired authentication challenges

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

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start with backend/src/middleware/auth.ts and inspect the existing CI test suite for authentication middleware coverage. Add deterministic tests for expired and replayed challenges, including boundary inputs and dependency failures. Done means the tests verify the documented success and failure paths, public behavior, and error contract, and pass in the corresponding CI suite.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend points: 150 testing

Labels: testing, backend, points: 150
File/location: backend/src/middleware/auth.ts

Description:
Challenge expiration and replayed challenge rejection lack regression tests.

Acceptance Criteria:

  • Add deterministic tests for the documented success and failure paths, including boundary inputs and dependency failures.
  • Run the new tests in the corresponding CI suite and assert the public behavior and error contract.

Notes:
This is a focused regression gap for the cited module; it was not covered by the existing test files reviewed during the sweep.

Lingua principale
TypeScript
Stelle
18
Fork
250
Merge medio
5g 6h
PR unite (30g)
82

Preparare l'ambiente

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 LabsCrypt/flowfi

Tutte le issue di LabsCrypt/flowfi

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.