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.