| 1 |
'use strict'; |
| 2 |
|
| 3 |
describe('uncaught', function () { |
| 4 |
beforeEach(function (done) { |
| 5 |
process.nextTick(function () { |
| 6 |
throw new Error('oh noes'); |
| 7 |
}); |
| 8 |
}); |
| 9 |
|
| 10 |
it('test', function (done) { |
| 11 |
process.nextTick(function () { |
| 12 |
throw new Error("I'm uncaught!"); |
| 13 |
}); |
| 14 |
}); |
| 15 |
}); |