mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 13:47:06 +01:00
30 lines
753 B
HTML
30 lines
753 B
HTML
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Mocha Spec Runner</title>
|
||
|
<link rel="stylesheet" href="../bower_components/mocha/mocha.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="mocha"></div>
|
||
|
<script src="../bower_components/mocha/mocha.js"></script>
|
||
|
<script>mocha.setup('bdd');</script>
|
||
|
<script src="../bower_components/chai/chai.js"></script>
|
||
|
<script>
|
||
|
var assert = chai.assert;
|
||
|
var expect = chai.expect;
|
||
|
var should = chai.should();
|
||
|
</script>
|
||
|
<!-- bower:js -->
|
||
|
<!-- endbower -->
|
||
|
<!-- include source files here... -->
|
||
|
<!-- include spec files here... -->
|
||
|
<script src="spec/test.js"></script>
|
||
|
<script>
|
||
|
if (navigator.userAgent.indexOf('PhantomJS') === -1) {
|
||
|
mocha.run();
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|