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

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.