Unit tests fail on Node 25+
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- testing
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from numberscope/frontscope
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
numberscope/frontscope#657 ·
-
Mouseover for Chaos?Openvisualizer
Difficulty 4/5 3-5 days Newbie friendliness 48/100
numberscope/frontscope#648 ·
-
ui visualizer
Difficulty 3/5 1-2 days Newbie friendliness 56/100
numberscope/frontscope#647 · 1 comment ·
-
future question visualizer
Difficulty 5/5 Over a week Newbie friendliness 35/100
numberscope/frontscope#646 ·
-
question ui
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
numberscope/frontscope#645 ·
All issues in numberscope/frontscope
Similar issues
-
documentation good first issue
Difficulty 2/5 Half a day Newbie friendliness 72/100
sujithputta02/Esapay#13 ·
-
Share dialog: the address book's contact count reads "1 contacts" (no singular form in any language)Possibly taken @chibenwa claimed this today. Openai-driven-qa bug claude Cosmetic
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
linagora/twake-contacts-frontend#271 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Koenkk/zigbee2mqtt#33402 ·
Maintainers usually reply within 1 day
-
dx P2 platform Stellar Wave Wave 10
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
winsznx/routedock#579 · 1 comment ·
Maintainers usually reply within 1 day
-
area:ui effort:S enhancement priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day