We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue is caused by a V8 engine upgrade that changes the behaviour of Hoek.clone(). A fix is proposed in: hapijs/hoek#390
Hoek.clone()
const error = new Error("fail"); const boom = Boom.badImplementation(error); assert.equal(boom.stack, error.stack);
Uncaught AssertionError [ERR_ASSERTION]: undefined == 'Error: fail\n' + ' at REPL2:1:15\n' + ' at ContextifyScript.runInThisContext (node:vm:121:12)\n' + ' at REPLServer.defaultEval (node:repl:599:22)\n' + ' at bound (node:domain:432:15)\n' + ' at REPLServer.runBound [as eval] (node:domain:443:12)\n' + ' at REPLServer.onLine (node:repl:929:10)\n' + ' at REPLServer.emit (node:events:527:35)\n' + ' at REPLServer.emit (node:domain:488:12)\n' + ' at [_onLine] [as _onLine] (node:internal/readline/interface:416:12)\n' ... at REPL5:1:8 at ContextifyScript.runInThisContext (node:vm:121:12) at REPLServer.defaultEval (node:repl:599:22) at bound (node:domain:432:15) at REPLServer.runBound [as eval] (node:domain:443:12) at REPLServer.onLine (node:repl:929:10) at REPLServer.emit (node:events:527:35) at REPLServer.emit (node:domain:488:12) at [_onLine] [as _onLine] (node:internal/readline/interface:416:12) at [_line] [as _line] (node:internal/readline/interface:887:18) { generatedMessage: true, code: 'ERR_ASSERTION', actual: undefined, expected: 'Error: fail\n' + ' at REPL2:1:15\n' + ' at ContextifyScript.runInThisContext (node:vm:121:12)\n' + ' at REPLServer.defaultEval (node:repl:599:22)\n' + ' at bound (node:domain:432:15)\n' + ' at REPLServer.runBound [as eval] (node:domain:443:12)\n' + ' at REPLServer.onLine (node:repl:929:10)\n' + ' at REPLServer.emit (node:events:527:35)\n' + ' at REPLServer.emit (node:domain:488:12)\n' + ' at [_onLine] [as _onLine] (node:internal/readline/interface:416:12)\n' + '...', operator: '=='
No assertion error, as on node v20.
The text was updated successfully, but these errors were encountered:
.cause
No branches or pull requests
Support plan
Context
This issue is caused by a V8 engine upgrade that changes the behaviour of
Hoek.clone()
. A fix is proposed in: hapijs/hoek#390What are you trying to achieve or the steps to reproduce?
What was the result you got?
What result did you expect?
No assertion error, as on node v20.
The text was updated successfully, but these errors were encountered: