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

Unit tests fail on Node 25+

Aperta
#656 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
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript
Ambito
testing

Direzione di ricerca

Start by checking the test setup and the happy-dom issue linked in the report, which describes Node 25's localStorage interference and possible workarounds. Reproduce the failure on Node 25+ in tests that touch localStorage, then adjust the testing setup so those tests pass on Node 25+ while preserving behavior on supported Node versions.

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

Descrizione

blocked/blocking maintenance

Any tests that touch localStorage fail on Node 25+, because Node 25 implements a localStorage that (I gather) interferes with the localStorage that was previously provided with happy-dom (see https://github.com/capricorn86/happy-dom/issues/1950). For anyone using Node 25+, we need to make some sort of changes to our testing setup to allow the tests to run. There appear to be some workarounds we can try in the referenced issue, but I won't have time to track this down in the immediate future.

Lingua principale
TypeScript
Stelle
10
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 numberscope/frontscope

Tutte le issue di numberscope/frontscope

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.