Comments (2)
Fantastic investigation, thanks! I've gone through the (very helpful!) reproduction and confirmed the bug. +1 that only clearing some of the file cache is a root cause bug.
Unfortunately, I think that fixing the behavior by clearing more of the cache would be considered a semver-major
breaking change. It's likely that some users have come to depend on this odd caching behavior.
cc @mochajs/maintenance-crew for a second or third opinion, just to be safe.
from mocha.
Thanks for checking it out!
Bug fixed, now doing a full blast, and no problem in considering it a major due to potential breakages 👍
from mocha.
Related Issues (20)
- 🚀 Feature: Update glob from 8.1.0 which is no longer supported HOT 14
- 🐛 Bug: Hit an error with CJS named exports HOT 8
- Transitive dependency on deprecated inflight package HOT 2
- 🛠 Repo: Automate releases HOT 1
- 📝 Docs: Remove 'license scan | failing' badge from README.md
- 🐛 Bug: mocha fails with `spawn EINVAL` on windows with node 22 HOT 2
- build mocha esm module HOT 1
- 📝 Docs: Rephrase "New in ..." notices on versions to say "Since ..." HOT 3
- 📝 Docs: Stop recommending the mailing list (Google Group)
- 🐛 Bug: `this.parent.titlePath is not a function` during parallel execution with retries HOT 7
- TypeScript with `moduleResolution=nodenext` hits `error TS5110`
- 🛠 Repo: Netlify deploy previews failing all PR builds
- 🚀 Feature: when tests fail, say "I expect these new values" and replace my expected values with the actual ones (snapshots) HOT 1
- CI: Restore `mocha-github-actions-reporter`
- 🐛 Bug: Unhandled rejections cause parallel tests to succeed when they should fail HOT 1
- 🚀 Feature: Explicitly fail the current test without that test in the stack HOT 3
- 🐛 Bug: Setting readOnly properties in `breakCircularDeps` breaks the reporter in `parallel` mode with `allow-uncaught` HOT 4
- 🛠 Repo: Don't create release PR until there's a user-facing change? HOT 3
- CI: Ensure `AUTHORS` is updated in automated releases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mocha.