adomokos / mocha-in-browser

A Mocha in Browser Starter Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Mocha in Browser Starter Kit


Languages

Language:JavaScript 94.3%Language:CSS 3.0%Language:HTML 2.4%Language:Makefile 0.3%