Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add dev dependencies and scripts to run npm test

  • Loading branch information...
commit b75a3a42c921ed202f49c64f2fbced75dd7a0081 1 parent 56261e2
@madhums madhums authored
Showing with 19 additions and 1 deletion.
  1. +12 −0 Makefile
  2. +7 −1 package.json
View
12 Makefile
@@ -0,0 +1,12 @@
+REPORTER = spec
+TESTS = test/*.js
+
+test:
+ @NODE_ENV=test mocha \
+ --reporter $(REPORTER) \
+ --ui bdd \
+ --timeout 500000 \
+ --growl \
+ $(TESTS)
+
+.PHONY: test
View
8 package.json
@@ -19,5 +19,11 @@
"cloudfiles": "0.3.3",
"mime": "1.2.5"
},
- "devDependencies": {}
+ "devDependencies": {
+ "mocha": "1.0.3",
+ "should": "0.6.3"
+ },
+ "scripts": {
+ "test": "make test"
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.