Skip to content

stealjs/steal-jasmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steal-jasmine

Provides an easy way to run Jasmine tests using StealJS.

Install

Install with npm:

npm install steal-jasmine --save-dev

Use

Add the Steal tag to your page:

<script src="node_modules/steal/steal.js"
  data-main="test/test"></script>

Then import steal-jasmine in yourtest/test.js file and write your tests:

import jasmineRequire from "steal-jasmine";

//Tests!
import foo from "bar";

it("A test", function(){
	expect(foo).toBe(true);
});

##License

MIT