-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
type: buga defect, confirmed by a maintainera defect, confirmed by a maintainer
Description
after(function () {
console.log('after outside suite')
})
describe('suite', function () {
var count = 0
beforeEach(function () {
if (count > 2) this.skip()
})
after(function () {
console.log('after in suite')
})
it('test 1', function () { ++count })
it('test 2', function () { ++count })
it('test 3', function () { ++count })
it('test 4', function () { ++count })
it('test 5', function () { ++count })
it('test 6', function () { ++count })
})will not output the after in suite since v2.5.0 due to PR #2081 (found via git bisect)
reported by @blueice349, confirmed by myself
Metadata
Metadata
Assignees
Labels
type: buga defect, confirmed by a maintainera defect, confirmed by a maintainer