deps: upgrade should, install should-http
This commit is contained in:
parent
2c9f2dcd9c
commit
0618db83c1
2 changed files with 7 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -12,6 +12,8 @@ ifeq (node, $(BIN))
|
|||
FLAGS = --harmony-generators
|
||||
endif
|
||||
|
||||
REQUIRED = --require should --require should-http
|
||||
|
||||
TESTS = test/application \
|
||||
test/context/* \
|
||||
test/request/* \
|
||||
|
@ -21,7 +23,7 @@ TESTS = test/application \
|
|||
test:
|
||||
@NODE_ENV=test $(BIN) $(FLAGS) \
|
||||
./node_modules/.bin/_mocha \
|
||||
--require should \
|
||||
$(REQUIRED) \
|
||||
$(TESTS) \
|
||||
--bail
|
||||
|
||||
|
@ -30,7 +32,7 @@ test-cov:
|
|||
./node_modules/.bin/istanbul cover \
|
||||
./node_modules/.bin/_mocha \
|
||||
-- -u exports \
|
||||
--require should \
|
||||
$(REQUIRED) \
|
||||
$(TESTS) \
|
||||
--bail
|
||||
|
||||
|
@ -40,7 +42,7 @@ test-travis:
|
|||
./node_modules/.bin/_mocha \
|
||||
--report lcovonly \
|
||||
-- -u exports \
|
||||
--require should \
|
||||
$(REQUIRED) \
|
||||
$(TESTS) \
|
||||
--bail
|
||||
|
||||
|
|
|
@ -47,7 +47,8 @@
|
|||
"istanbul-harmony": "~0.3.0",
|
||||
"make-lint": "^1.0.1",
|
||||
"mocha": "^2.0.1",
|
||||
"should": "^3.1.0",
|
||||
"should": "^6.0.3",
|
||||
"should-http": "0.0.3",
|
||||
"supertest": "^1.0.1",
|
||||
"test-console": "^0.7.1"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue