Manuel Friedli
1e314cba57
- test config options (default and custom) - test invalid parameters (language and theme) - test URL params (long and short)
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head lang="en">
|
|
<meta charset="UTF-8">
|
|
<title>Test bärneruhr.ch</title>
|
|
<link rel="stylesheet" type="text/css" href="css/mocha.css"/>
|
|
<link rel="stylesheet" type="text/css" href="../css/uhr.css"/>
|
|
<link rel="stylesheet" type="text/css" href="../css/uhr-black.css" data-class="black"/>
|
|
<link rel="stylesheet" type="text/css" href="../css/uhr-red.css" data-class="red"/>
|
|
<link rel="stylesheet" type="text/css" href="../css/uhr-pink.css" data-class="pink"/>
|
|
</head>
|
|
<body>
|
|
<div id="u"></div>
|
|
<div id="mocha"></div>
|
|
<script type="text/javascript" src="lib/mocha.js"></script>
|
|
<script type="text/javascript" src="lib/chai.js"></script>
|
|
<script type="text/javascript" src="../dist/libs.js"></script>
|
|
<script type="text/javascript" src="../dist/jquery.uhr.complete.js"></script>
|
|
<script type="text/javascript">
|
|
mocha.setup('tdd');
|
|
</script>
|
|
<script type="text/javascript" src="test.js"></script>
|
|
<script type="text/javascript">
|
|
// mocha.checkLeaks();
|
|
// mocha.globals(['jQuery*']);
|
|
if (window.mochaPhantomJS) {
|
|
mochaPhantomJS.run();
|
|
}
|
|
else {
|
|
mocha.run();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|