We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c78f24 commit e4ffd8cCopy full SHA for e4ffd8c
README.md
@@ -3,6 +3,22 @@
3
create-react-app is a great tool for bootstrapping a react application, but it
4
comes with Jest as unit test runner - I would rather use mocha.
5
6
+## Why mocha?
7
+
8
+Speed!
9
10
+When I save any file in my project, my no. 1 concern is how fast the unit tests
11
+run.
12
13
+Jest - From I save until I get a test result is measured in seconds. And that is
14
+just for the one single test case you get with a fresh CRA app.
15
16
+Mocha - Runs in a few milliseconds.
17
18
+And I don't really need any of the features that Jest provides.
19
20
+## Usage
21
22
Package is currently under the "@stroiman" scope. I wanted to see that this
23
works before pushing to global NPM package scope - to avoid polluting the global
24
scope with useless packages.
0 commit comments