Skip to content

Commit

Permalink
Improved test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
broadsw0rd committed Apr 15, 2017
1 parent 44f657e commit b1ebbbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"rollup-plugin-babel": "2.7.1",
"sinon": "2.1.0",
"snazzy": "7.0.0",
"tap-prettify": "0.0.2",
"tap-diff": "0.1.1",
"tape": "4.6.3",
"uglify-js": "2.8.16"
},
Expand All @@ -47,7 +47,7 @@
},
"scripts": {
"check": "snazzy src/*.js test/*.js",
"test": "nyc --cache --reporter=html --reporter=lcov --reporter=text tap-prettify test/dynamica.test.js",
"test": "nyc --cache --reporter=html --reporter=lcov --reporter=text tape test/dynamica.test.js",
"build": "rollup -c",
"min": "uglifyjs -c -m -- dist/dynamica.js > dist/dynamica.min.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
Expand Down
5 changes: 5 additions & 0 deletions test/dynamica.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
var test = require('tape')
var tapDiff = require('tap-diff')
var sinon = require('sinon')

test.createStream()
.pipe(tapDiff())
.pipe(process.stdout)

var Animation = require('../dist/dynamica.js')

function beforeEach () {
Expand Down

0 comments on commit b1ebbbf

Please sign in to comment.