I'm not sure what the testrunner.js file should look like. This is what I have right now.

mocha.ui('bdd');	
mocha.reporter('html');
var assert = chai.assert;

var runTest = function()
{
  if (window.mochaPhantomJS) {
    mochaPhantomJS.run();
  }
  else{
    mocha.run();
  }
}