radare/radare2-webui

View on GitHub
www/m/test/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Mocha Tests</title>
  <link href="../node_modules/mocha/mocha.css" rel="stylesheet" />
</head>
<body>
  <div id="mocha"></div>

  <script src="../../../dev/m/app.js"></script>

  <script src="../node_modules/mocha/mocha.js"></script>
  <script src="../node_modules/chai/chai.js"></script>
  <script src="../node_modules/sinon-chai/lib/sinon-chai.js"></script>
  <script src="../node_modules/sinon/pkg/sinon.js"></script>

  <script>
  var Assert = chai.assert;
  var sAssert = sinon.assert;
  var expect = chai.expect;

  mocha.setup('bdd');
  </script>

  <script src="test.test.js"></script>

  <script>
    mocha.checkLeaks();
    mocha.run();
  </script>
</body>
</html>