Revert "Make mocha use test/mocha.opts to DRY up options used by npm test and test/runall.sh and support coffee. Add coffee-script as devDependency to package.json"

This reverts commit 9dfbffa4b8.

Conflicts:

	test/mocha.opts
This commit is contained in:
Vinnie Falco
2013-10-17 11:10:48 -07:00
parent a918924923
commit da22f06d85
2 changed files with 8 additions and 3 deletions

View File

@@ -2,10 +2,13 @@
"name": "rippled",
"version": "0.0.1",
"description": "Rippled Server",
"private": true,
"directories": {
"test": "test"
},
"dependencies": {
"ripple-lib": "0.7.25",
"async": "~0.2.9",
@@ -13,15 +16,17 @@
"simple-jsonrpc": "~0.0.2"
},
"devDependencies": {
"coffee-script": "~1.6.3",
"mocha": "~1.13.0"
},
"scripts": {
"test": "mocha test/*-test.{js,coffee}"
"test": "mocha --reporter spec --ui tdd --timeout 10000 --slow 600 test/*-test.js"
},
"repository": {
"type": "git",
"url": "git://github.com/ripple/rippled.git"
},
"readmeFilename": "README.md"
}

View File

@@ -1,4 +1,4 @@
#!/bin/bash
mocha test/*-test.{js,coffee}
mocha --ui tdd --reporter spec --timeout 10000 test/*-test.js