Created
May 30, 2019 01:47
-
-
Save ItsASine/1a09cc81a6be7f57fff7a80c2f0f969c to your computer and use it in GitHub Desktop.
Standalone Jasmine Tests
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
<!-- script src='spec file' --> | |
<div> | |
<div id="specs"></div> | |
</div> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jasmine/3.0.0/jasmine.css" /> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jasmine/3.0.0/jasmine.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jasmine/3.0.0/jasmine-html.js"></script> | |
<script type="text/javascript"> | |
window.getContainer = function() { | |
return document.getElementById("specs"); | |
} | |
</script> | |
<script src="https://cdn.rawgit.com/davidyang/f63658195de7607f476b41a8f14c2096/raw/d7628b8cff6da10385bbc96ecf205bf47e2ca4a4/custom-boot.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment