Hi,
I believe this is a small fix but I can't figure it from where.
Maybe someone could help to check and guide, or even better already has a solution for this:
Error processing test.finish event:
TypeError: finish is not a function
at EventEmitter. (/.../node_modules/codeceptjs/lib/pause.js:40:5)
at EventEmitter.emit (node:events:529:35)
at Object.emit (/.../node_modules/codeceptjs/lib/event.js:162:28)
at /.../node_modules/codeceptjs/lib/mocha/asyncWrapper.js:74:13
at /.../node_modules/codeceptjs/lib/recorder.js:274:9
Can be reproduced by doing:
recorder.add(Error, () => Promise.reject(new Error(message)));
Thanks!