frontend tests: stale mocha.js version
See original GitHub issueFile tests/frontend/lib/mocha.js
is quite old: first committed in 2012 with ba4ebbba3ba6, slightly modified the day after in 7aee98bce82e (“made test helpers more cross browser compatible”).
- var query = Mocha.utils.parseQuery(window.location.search || '');
- if (query.grep) mocha.grep(query.grep);
+ //var query = Mocha.utils.parseQuery(window.location.search || '');
+ //if (query.grep) mocha.grep(query.grep);
It would be probably useful to update the frontend library like we did for the backend one.
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (19 by maintainers)
Top Results From Across the Web
Mocha - the fun, simple, flexible JavaScript test framework
Mocha is a feature-rich JavaScript test framework running on Node. js and in the browser, making asynchronous testing simple and fun. Mocha tests...
Read more >Introduction to Frontend Testing - Flavio Copes
Introduction to Frontend Testing ... Mocha is an awesome and versatile testing tool. There are many testing frameworks out there, and I choose...
Read more >Extending mocha reporters from a Browser integration #4259
Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node node_modules/.
Read more >Mocha vs. Jest: comparison of two testing tools for Node.js
Mocha is widely used in Node.js. It's focused on various types of tests such as unit, integration, and end-to-end testing.
Read more >JavaScript unit testing frameworks in 2022: A comparison
Potential inconsistency with plugins. Mocha includes the test structure as globals, saving time by not having to include or require it in every ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Excellent work man, I really appreciate you handling this because I clearly was right in assuming I was out of my depths as far as hacking into Mocha 😛
Solution on https://github.com/ether/etherpad-lite/issues/3804
TLDR; use /index.html …