Skip to content

Instantly share code, notes, and snippets.

@elight
Created September 27, 2010 16:05
Show Gist options
  • Save elight/599265 to your computer and use it in GitHub Desktop.
Save elight/599265 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jasmine Test Runner</title>
<link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine.css">
<script type="text/javascript" src="jasmine/lib/jasmine.js"></script>
<script type="text/javascript" src="jasmine/lib/jasmine-html.js"></script>
</head>
<body>
<script type="text/javascript">
describe("A passing spec", function() {
it("should pass", function() {
expect(true).toBeTruthy();
});
});
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