jasmine-node
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -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`_ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151942
228