Ryan Ghods 125fa014e5 Upgrade Mist to web3 1.0 (#3776) 6 years ago
..
lib 8dc4a66e69 Adding dapp tests (#1501) 8 years ago
spec 125fa014e5 Upgrade Mist to web3 1.0 (#3776) 6 years ago
.eslintrc.yml aa865ade62 Mist API tests (#1503) 8 years ago
.gitignore d217e8c950 updated dapp styles 9 years ago
Makefile d217e8c950 updated dapp styles 9 years ago
README.md f94d8f1916 Prettier files (#3755) 7 years ago
package.json d217e8c950 updated dapp styles 9 years ago
runner.html 8dc4a66e69 Adding dapp tests (#1501) 8 years ago

README.md

Mocha In the Browser

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.

Integrating it into your project

Copy the spec directory into your project. Make sure the runner.html file has all the right paths.