|
il y a 6 ans | |
---|---|---|
.. | ||
lib | il y a 8 ans | |
spec | il y a 6 ans | |
.eslintrc.yml | il y a 8 ans | |
.gitignore | il y a 9 ans | |
Makefile | il y a 9 ans | |
README.md | il y a 7 ans | |
package.json | il y a 9 ans | |
runner.html | il y a 8 ans |
A super simple example of how Mocha tests can be executed in the browser. A great way to start is cloning this project and working through the String Calculator Kata. Open up the public/index.html file in a browser to see the JavaScript object used by the page.
Copy the spec directory into your project. Make sure the runner.html file has all the right paths.