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

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.