mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
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 commit is contained in:
1
test/mocha.opts
Normal file
1
test/mocha.opts
Normal file
@@ -0,0 +1 @@
|
||||
--reporter spec --compilers coffee:coffee-script --ui tdd --timeout 10000 --slow 600
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
mocha --ui tdd --reporter spec --timeout 10000 test/*-test.js
|
||||
mocha test/*-test.{js,coffee}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user