Skip to content

Instantly share code, notes, and snippets.

@EpeeCheeze
Created June 19, 2013 13:36
Show Gist options
  • Save EpeeCheeze/5814378 to your computer and use it in GitHub Desktop.
Save EpeeCheeze/5814378 to your computer and use it in GitHub Desktop.
Basic Jasmine testing template
<html>
<head>
<link rel="stylesheet" type="text/css" href="<path to jasmine.css>">
<script type="text/javascript" src="<path to jasmine.js>"></script>
<script type="text/javascript" src="<path to jasmine-html.js>"></script>
<script type="text/javascript" src="<path to source>"></script>
<script type="text/javascript" src="<path to spec>"></script>
</head>
<body>
<script type="text/javascript">
jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
jasmine.getEnv().execute();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment