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

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.