Skip to content

Commit

Permalink
fix(through2): remove it, no need currently
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Feb 28, 2017
1 parent 470db29 commit ebaafa9
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 141 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

'use strict'

var through2 = require('through2')
var extend = require('extend-shallow')
var createPlugin = require('minibase-create-plugin')

Expand All @@ -28,7 +27,6 @@ var createPlugin = require('minibase-create-plugin')
*
* console.log(app.options.settle) // => false
* console.log(app.tests) // => []
* console.log(app._stream) // => through2 object mode stream
* console.log(app.stats.count) // => 0
* console.log(app.stats.pass) // => 0
* console.log(app.stats.fail) // => 0
Expand Down Expand Up @@ -65,6 +63,5 @@ module.exports = function minibaseResults (opts) {
self.define('tests', [])
self.define('testErrors', null)
self.define('testContext', { context: {} })
self.define('_stream', through2.obj())
})
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
},
"dependencies": {
"extend-shallow": "^2.0.1",
"minibase-create-plugin": "^1.0.2",
"through2": "^2.0.1"
"minibase-create-plugin": "^1.0.2"
},
"devDependencies": {
"commitizen": "~2.7.0",
Expand Down
1 change: 0 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ test('should have initial default properties', function (done) {
test.ok(app.testErrors === null)
test.ok(app.testContext)
test.ok(app.testContext.context)
test.ok(app._stream)
test.strictEqual(app.stats.pass, 0)
test.strictEqual(app.stats.fail, 0)
test.strictEqual(app.stats.skip, 0)
Expand Down
Loading

0 comments on commit ebaafa9

Please sign in to comment.