Created
January 2, 2013 15:15
-
-
Save alex-seville/4435278 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Jasmine Spec Runner</title> | |
<link rel="stylesheet" type="text/css" href="jasmine/jasmine.css"/> | |
<script type="text/javascript" src="jasmine/jasmine.js"></script> | |
<script type="text/javascript" src="jasmine/jasmine-html.js"></script> | |
<link rel="shortcut icon" type="image/png" href="jasmine/jasmine_favicon.png"/> | |
<!--<script type="text/javascript" src="Coverage/blanket_jasmine.js" data-cover-flags="ignoreError autoStart" data-cover-only="code/"></script>--> | |
<script type="text/javascript"> | |
if (window.require && typeof (window.require.config) === 'function') { | |
require.config({ | |
baseUrl: './code/' | |
}); | |
} | |
</script> | |
<script type="text/blanket" src="code/all.tests.jasmine.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(); | |
} | |
jasmineEnv.execute(); | |
}; | |
})(); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment