fix spec failures

This commit is contained in:
Tim Griesser
2022-02-21 19:21:19 -05:00
parent 675b78f19f
commit 032ec60d38
10 changed files with 20 additions and 19 deletions
@@ -54,7 +54,7 @@ describe('lib/plugins/child/run_require_async_child', () => {
it('sends the serialized error via ipc on process uncaughtException', function () {
process.on.withArgs('uncaughtException').yield(this.err)
expect(this.ipc.send).to.be.calledWith('childProcess:uncaughtError', this.err)
expect(this.ipc.send).to.be.calledWith('childProcess:unhandledError', this.err)
})
it('sends the serialized error via ipc on process unhandledRejection', function () {