mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add line/col report test
This commit is contained in:
parent
ae7f1b38a8
commit
8451c29a25
@ -146,7 +146,7 @@ describe('function node', function() {
|
|||||||
msg.should.have.property('level', helper.log().ERROR);
|
msg.should.have.property('level', helper.log().ERROR);
|
||||||
msg.should.have.property('id', 'n1');
|
msg.should.have.property('id', 'n1');
|
||||||
msg.should.have.property('type', 'function');
|
msg.should.have.property('type', 'function');
|
||||||
msg.should.have.property('msg', 'ReferenceError: retunr is not defined');
|
msg.should.have.property('msg', 'ReferenceError: retunr is not defined (line 1, col 1)');
|
||||||
done();
|
done();
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
done(err);
|
done(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user