From 64b3f90547bf16af51bc762112856c3105ac8eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R=C3=BCdiger?= Date: Wed, 24 Oct 2018 20:21:59 +0200 Subject: [PATCH] Update README.md this still doesn't work. see https://github.com/node-red/node-red-node-test-helper/issues/25 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f5e287..1b13085 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ describe('if `omg` in input message', function () { const n1 = helper.getNode('n1') n1.receive({omg: true}); n1.on('input', () => { - n1.warn.should.be.calledWithExactly('lolwtf'); + n1.error.should.be.calledWithExactly('lolwtf'); done(); }); }); @@ -361,4 +361,4 @@ var logEvents = helper.log().args.filter(function(evt { npm run examples -This runs tests on an included lower-case node (as above) as well as snaphots of some of the core nodes' Javascript files to ensure the helper is working as expected. \ No newline at end of file +This runs tests on an included lower-case node (as above) as well as snaphots of some of the core nodes' Javascript files to ensure the helper is working as expected.