25 lines
913 B
HTML
25 lines
913 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>Nprogress tests</title>
|
|
<meta name='viewport' content='width=device-width,initial-scale=1.0'>
|
|
<link href='https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.css' rel='stylesheet' />
|
|
</head>
|
|
<body>
|
|
<div id='mocha'></div>
|
|
<script src='https://cdn.rawgit.com/visionmedia/mocha/2.2.4/mocha.js'></script>
|
|
<script src='https://cdn.rawgit.com/chaijs/chai/2.3.0/chai.js'></script>
|
|
<script>window.onerror=function(msg,url,line){document.getElementById('mocha').innerHTML+='<h1>'+msg+'</'+'h1>'+'<h2>'+url+':'+line+'</'+'h2>';return false}</script>
|
|
<script>mocha.ignoreLeaks(); mocha.setup('bdd');</script>
|
|
|
|
<!-- nprogress -->
|
|
<script src='https://code.jquery.com/jquery-1.11.2.min.js'></script>
|
|
<script src='../nprogress.js'></script>
|
|
|
|
<!-- tests -->
|
|
<script src='test.js'></script>
|
|
<script>mocha.run()</script>
|
|
</body>
|
|
</html>
|