🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

steal-jasmine

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steal-jasmine

A package for Jasmine and StealJS

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
7
-22.22%
Maintainers
4
Weekly downloads
 
Created
Source

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

Keywords

StealJS

FAQs

Package last updated on 04 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts