Socket
Socket
Sign inDemoInstall

jasmine-node

Package Overview
Dependencies
14
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.0 to 1.9.1

2

lib/jasmine-node/async-callback.js

@@ -41,3 +41,3 @@ (function() {

function asyncSpec(specFunction, spec, timeout) {
if (timeout == null) timeout = jasmine.DEFAULT_TIMEOUT_INTERVAL || 1000;
if (timeout == null) timeout = jasmine.getEnv().defaultTimeoutInterval || 1000;
var done = false;

@@ -44,0 +44,0 @@ spec.runs(function() {

@@ -271,4 +271,4 @@ var util,

function printVersion(){
console.log("1.9.0");
console.log("1.9.1");
process.exit(0);
}
{
"name": "jasmine-node",
"version": "1.9.0",
"version": "1.9.1",
"description": "DOM-less simple JavaScript BDD testing framework for Node",

@@ -5,0 +5,0 @@ "contributors": [

@@ -98,2 +98,4 @@ jasmine-node

```javascript
var request = require('request');
it("should respond with hello world", function(done) {

@@ -111,2 +113,5 @@ request("http://localhost:3000/hello", function(error, response, body){

```javascript
var request = require('request');
it("should respond with hello world", function(done) {

@@ -117,5 +122,9 @@ request("http://localhost:3000/hello", function(error, response, body){

});
```
or
```javascript
var request = require('request');
jasmine.getEnv().defaultTimeoutInterval = 500;

@@ -128,2 +137,3 @@

});
```

@@ -198,2 +208,4 @@ Checkout spec/SampleSpecs.js to see how to use it.

* _1.9.1 - Timeout now consistent between Async and Non-Async Calls (thanks to
[codemnky](https://github.com/codemnky))_
* _1.9.0 - Now re-throwing the file-not-found error, added info to README.md,

@@ -200,0 +212,0 @@ printing version with `--version`_

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc