mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Updated the logic to be easier to follow
This commit is contained in:
@@ -69,7 +69,6 @@ describe('Unit: PayloadValidator', () => {
|
||||
const modifiedEvent = orgEvent('before');
|
||||
modifiedEvent.payload = 'some text';
|
||||
const result = payloadValidator.verify(modifiedEvent);
|
||||
console.log(errorLogStub.callCount);
|
||||
assert(errorLogStub.callCount === 1);
|
||||
assert(appLogStub.callCount === 1);
|
||||
const [[log]] = appLogStub.args;
|
||||
|
Reference in New Issue
Block a user