Update package
This commit is contained in:
parent
b3c6bf4b2f
commit
1f9038834c
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./support/nodeunit/bin/nodeunit test/*_test.js"
|
"test": "ONLY=memory ./support/nodeunit/bin/nodeunit test/*_test.*"
|
||||||
},
|
},
|
||||||
"engines": [
|
"engines": [
|
||||||
"node >= 0.4.0"
|
"node >= 0.4.0"
|
||||||
|
|
|
@ -48,7 +48,7 @@ function check_external_exports() {
|
||||||
|
|
||||||
// add assertions
|
// add assertions
|
||||||
|
|
||||||
var assert = require(require('module')._resolveFilename('nodeunit')[0].replace(/index\.js$/, 'lib/assert'));
|
var assert = require(require('module')._resolveFilename('../support/nodeunit')[0].replace(/index\.js$/, 'lib/assert'));
|
||||||
|
|
||||||
// Check response status code 200 OK
|
// Check response status code 200 OK
|
||||||
assert.status200 = function (response, message) {
|
assert.status200 = function (response, message) {
|
||||||
|
|
Loading…
Reference in New Issue