eventemitter3
mocha
eventemitter3 | mocha | |
---|---|---|
1 | 2 | |
3,232 | 21,338 | |
0.9% | - | |
5.6 | 8.5 | |
6 months ago | about 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eventemitter3
-
How do you type an Event System?
I'm using the amazing eventemitter3 library to create an event system for my app. Turns out I have no idea what the good practices are when it comes to typing it.
mocha
-
Running the same mocha test multiple times with different data
There is some tecnique that is called Shared Behaviours . But it does not solve the problem directly with a test suite, it just solve the problem with different components that have duplicated tests.
-
Skip subsequent Mocha tests from spec if one fails
EDIT: and now, according to https://github.com/visionmedia/mocha/commit/f0b441ceef4998e570a794dcff951bf2330eb0c5latest Mocha have bail option from the box. Thanks to authors!
What are some alternatives?
webtorrent - ⚡️ Streaming torrent client for the web [Moved to: https://github.com/webtorrent/webtorrent]
gokiburi - Automatic test runs for Go projects
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
just-tap - A simple tap test runner that can be used by any javascript interpreter.
webtorrent - ⚡️ Streaming torrent client for the web
test - testing some html5 audio players with the goal of finding a good one with strong playlist support
pollyjs - Record, Replay, and Stub HTTP Interactions.
javascript-testing-best-practices - 📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
cep-promise - Busca por CEP integrado diretamente aos serviços dos Correios, ViaCEP e outros (Node.js e Browser)
eaf-linter - 🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.