You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.5 KiB
63 lines
1.5 KiB
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Jasmine Spec Runner</title>
|
|
|
|
<link rel="shortcut icon" type="image/png" href="lib/jasmine_favicon.png">
|
|
|
|
<link rel="stylesheet" type="text/css" href="lib/jasmine.css">
|
|
<script type="text/javascript" src="lib/jasmine.js"></script>
|
|
<script type="text/javascript" src="lib/jasmine-html.js"></script>
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/json3/3.3.2/json3.min.js"></script>
|
|
|
|
<!-- include helper files here... -->
|
|
<script src="helpers/h-matchers.js"></script>
|
|
|
|
<!-- include spec files here... -->
|
|
<script src="spec/s-array.js"></script>
|
|
<script src="spec/s-date.js"></script>
|
|
<script src="spec/s-error.js"></script>
|
|
<script src="spec/s-function.js"></script>
|
|
<script src="spec/s-global.js"></script>
|
|
<script src="spec/s-number.js"></script>
|
|
<script src="spec/s-object.js"></script>
|
|
<script src="spec/s-string.js"></script>
|
|
<script src="spec/s-regexp.js"></script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
(function() {
|
|
var jasmineEnv = jasmine.getEnv();
|
|
jasmineEnv.updateInterval = 1000;
|
|
|
|
var trivialReporter = new jasmine.TrivialReporter();
|
|
|
|
jasmineEnv.addReporter(trivialReporter);
|
|
|
|
jasmineEnv.specFilter = function(spec) {
|
|
return trivialReporter.specFilter(spec);
|
|
};
|
|
|
|
var currentWindowOnload = window.onload;
|
|
|
|
window.onload = function() {
|
|
if (currentWindowOnload) {
|
|
currentWindowOnload();
|
|
}
|
|
execJasmine();
|
|
};
|
|
|
|
function execJasmine() {
|
|
jasmineEnv.execute();
|
|
}
|
|
|
|
})();
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
</body>
|
|
</html>
|