steal-jasmine

0.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    9
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i steal-jasmine

Weekly Downloads

9

Version

0.0.3

License

MIT

Last publish

Collaborators

  • justinbmeyer
  • matthewp