You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger: undefined
TypeError: Cannot read properties of undefined (reading 'log')
at Function.spy (node_modules/sinon/lib/sinon/spy.js:156:61)
at Sandbox.spy (node_modules/sinon/lib/sinon/sandbox.js:328:35)
at NodeTestHelper.load (node_modules/node-red-node-test-helper/index.js:179:53)
at Context.<anonymous> (test/lower-case_spec.js:14:16)
at process.processImmediate (node:internal/timers:476:21)
I am trying to run unit tests like described here, but it seems to me that the helper is not correctly initialized.
So if I try to load my node, I get an undefined logger:
package versions:
The text was updated successfully, but these errors were encountered: