mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
trim test output
This commit is contained in:
@@ -38,7 +38,7 @@ describe('nodemon fork monitor', function () {
|
||||
}
|
||||
if (startWatch && match(data, 'changes after filters')) {
|
||||
var changes = colour.strip(data.trim()).split('changes after filters').pop().split('/');
|
||||
var restartedOn = changes.pop();
|
||||
var restartedOn = changes.pop().trim();
|
||||
assert(restartedOn === '1', 'nodemon restarted on 1 file: ' + restartedOn + ' / ' + data.toString());
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user