What can I do if I want to use this lib with mocha?
See original GitHub issueI like the semi-BDD approach of mocha and using test()
instead of describe(it())
would be a huge step backward for me. Will this repo merged into jest? If not, where can we find the new documentation and where can we send the new issues? What alternatives do you have if we don’t want to use jest? There is an old https://github.com/Automattic/expect.js I used that previously, but it is no longer maintained, that’s why I tried this one. Probably I should have read the readme file more carefully…
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Mocha - the fun, simple, flexible JavaScript test framework
simple, flexible, fun. Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun....
Read more >Getting Started with Node.js and Mocha - Semaphore Tutorial
Mocha is a simple, extensible and fast testing library for Node.js. This article will walk you through its installation, configuration and usage.
Read more >mocha as a library - javascript - Stack Overflow
I would like to use mocha (the node.js test framework, not the ruby mocking library) as a library, rather than using the mocha...
Read more >How To Test a Node.js Module with Mocha and Assert
Using this module, we will be able to list all the TODOs that we are keeping track of, add new items, and mark...
Read more >How to Write a Library for Node.js and Browser with Mocha ...
We can use following methods to do that. This example files structure look like this: src\md5.js tests\test.js tests\node-test.js ...
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 Free
Top 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
Well I really don’t have the time for this, so this will be my last comment. What I use to do is write into google or into the github search field my keywords, check the quick starts from the readme files, the stars, the last updates and the travis results of the repos. If I think someting is worth to use, then I follow the installation guide in the readme file, which is usually
npm install xy --save
. I use the npmjs site only if I want to publish something and I want to check whether a name already exists. Actually there is a CLI command for that too, but I always forget it, so it is faster to check the site, than reading the documentation again. I am going to use chai instead, their API is not as good as yours, but at least they don’t have communication problems. Good luck!Since you installed the software from npm, it doesn’t really make sense to use anything else (and expect you’ll always get the right result).