Skip to content

Commit

Permalink
bump coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Feb 11, 2016
1 parent 8b57047 commit 3910d8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ test('should treat hybrid as promise when `extra: false` (not as hybrid)', funct

test('should treat generator as object (as normally would) when `extra: false`', function (done) {
var generator = (function * () {
/* istanbul ignore next */
yield 55
})()
test.strictEqual(kindof(generator, false), 'object')
Expand All @@ -62,6 +63,7 @@ test('should treat generator as object (as normally would) when `extra: false`',

test('should treat generator function as function (as normally) when `extra: false`', function (done) {
var genFunction = function * () {
/* istanbul ignore next */
yield [1, 2, 3]
}
test.strictEqual(kindof(genFunction, false), 'function')
Expand Down

0 comments on commit 3910d8e

Please sign in to comment.