Add Tests #22

Merged
joeybaker merged 6 commits from tests into master 2016-09-06 04:55:24 +00:00
2 changed files with 12 additions and 2 deletions
Showing only changes of commit 03755f94c5 - Show all commits

9
circle.yml Normal file
View File

@ -0,0 +1,9 @@
machine:
node:
version: 6.5.0
dependencies:
pre:
- npm prune
post:
- mkdir -p $CIRCLE_TEST_REPORTS/ava

View File

@ -10,7 +10,7 @@
}, },
"scripts": { "scripts": {
"lint": "eslint src", "lint": "eslint src",
"test": "ava --require babel-register --source='*.test.js'", "test": "ava --require babel-register --source='*.test.js' --tap=${CI-false} | $(if [ -z ${CI:-} ]; then echo 'tail'; else tap-xunit > $CIRCLE_TEST_REPORTS/ava/ava.xml; fi;)",
"tdd": "ava --require babel-register --source='*.test.js' --watch", "tdd": "ava --require babel-register --source='*.test.js' --watch",
"build": "scripty", "build": "scripty",
"watch": "scripty" "watch": "scripty"
@ -37,7 +37,8 @@
"ghooks": "1.0.3", "ghooks": "1.0.3",
"scripty": "^1.6.0", "scripty": "^1.6.0",
"sinon": "^1.17.5", "sinon": "^1.17.5",
"sinon-bluebird": "^3.0.2" "sinon-bluebird": "^3.0.2",
"tap-xunit": "^1.4.0"
}, },
"dependencies": { "dependencies": {
"boom": "^3.2.2", "boom": "^3.2.2",