Skip to content

Instantly share code, notes, and snippets.

@fivetanley
Created August 31, 2012 15:58
Show Gist options
  • Select an option

  • Save fivetanley/3555025 to your computer and use it in GitHub Desktop.

Select an option

Save fivetanley/3555025 to your computer and use it in GitHub Desktop.
How do you run jasmine?
<!-- blah blah, include jasmine / jquery, require.js, sinon, etc -->
<script type='text/javascript'>
require( [ 'test1', 'test2', 'test3' ], function() { jasmineEnv.execute() } );
</script>
<!-- blah blah, include jasmine / jquery, require.js, sinon, etc -->
<script type='text/javascript' src='path/to/spec1.js'></script>
<script type='text/javascript' src='/path/to/spec2.js'></script>
<script type='text/javascript' src='/path/to/spec3.js'></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment