Created
November 23, 2016 19:58
-
-
Save naganowl/88d87a4efdcbec5a3dbc178fb969f9b3 to your computer and use it in GitHub Desktop.
Barebones Jasmine HTML spec runner (assuming test directory and properly named files)
This file contains hidden or 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> | |
<html> | |
<head> | |
<title>Jasmine Spec Runner</title> | |
<link rel="stylesheet" href="../node_modules/jasmine-core/lib/jasmine-core/jasmine.css"> | |
</head> | |
<body> | |
<script src="../node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script> | |
<script src="../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script> | |
<!-- include source files here... --> | |
<script src="../index.js"></script> | |
<!-- include spec files here... --> | |
<script src="./index.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment