Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

expresso -> mocha

  • Loading branch information...
commit 00896798c5c27301763851f00471fe8c6366d39d 1 parent 026efe7
@tj tj authored
Showing with 8 additions and 12 deletions.
  1. +7 −11 Makefile
  2. +1 −1  package.json
View
18 Makefile
@@ -1,17 +1,13 @@
-TESTS = test/*.test.js
-
SRC = $(shell find lib -type f)
test:
- @./node_modules/expresso/bin/expresso \
- --serial \
- --timeout 5000 \
- $(TEST_FLAGS) \
- $(TESTS)
-
-test-cov:
- @$(MAKE) TEST_FLAGS=--cov
+ @./node_modules/.bin/mocha \
+ --timeout 4s \
+ --slow 1s \
+ --growl \
+ --reporter spec \
+ --ui exports
docs: index.html
@@ -23,4 +19,4 @@ index.html: $(SRC)
--private \
$^ > $@
-.PHONY: test test-cov docs
+.PHONY: test docs
View
2  package.json
@@ -11,7 +11,7 @@
}
, "devDependencies": {
"express": "2.3.x"
- , "expresso": ">= 0.0.1"
+ , "mocha": "*"
, "htmlparser": ">= 0.0.1"
, "jsdom": ">= 0.0.1"
, "qs": ">= 0.0.1"
Please sign in to comment.
Something went wrong with that request. Please try again.