Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (35 sloc) 1.05 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>JS Template - Unit tests</title>
<link rel="shortcut icon" type="image/png" href="jasmine-1.3.1/jasmine_favicon.png" />
<link rel="stylesheet" type="text/css" href="jasmine-1.3.1/jasmine.css" />
<script type="text/javascript" src="jasmine-1.3.1/jasmine.js"></script>
<script type="text/javascript" src="jasmine-1.3.1/jasmine-html.js"></script>
<script type="text/javascript" src="../template.js"></script>
<script type="text/javascript" src="template_test.js"></script>
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
if (currentWindowOnload) {
currentWindowOnload();
}
execJasmine();
};
function execJasmine() {
jasmineEnv.execute();
}
})();
</script>
</head>
<body></body>
</html>