added more tests:
- test config options (default and custom) - test invalid parameters (language and theme) - test URL params (long and short)
This commit is contained in:
parent
a8f8aa0947
commit
1e314cba57
2 changed files with 131 additions and 12 deletions
|
@ -2,11 +2,12 @@
|
|||
<html>
|
||||
<head lang="en">
|
||||
<meta charset="UTF-8">
|
||||
<title>Test</title>
|
||||
<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>
|
||||
|
@ -20,8 +21,8 @@
|
|||
</script>
|
||||
<script type="text/javascript" src="test.js"></script>
|
||||
<script type="text/javascript">
|
||||
mocha.checkLeaks();
|
||||
mocha.globals(['jQuery*']);
|
||||
// mocha.checkLeaks();
|
||||
// mocha.globals(['jQuery*']);
|
||||
if (window.mochaPhantomJS) {
|
||||
mochaPhantomJS.run();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue