mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
test: fix fork test
I accidently dropped the part of the test that checks that the script
correctly started 😱
This commit is contained in:
@@ -46,6 +46,14 @@ describe('nodemon fork', function () {
|
||||
done(new Error(data));
|
||||
}
|
||||
});
|
||||
|
||||
p.on('message', function (event) {
|
||||
if (event.type === 'start') {
|
||||
p.send('quit');
|
||||
assert(true, 'nodemon started');
|
||||
done();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
if (!process.env.TRAVIS) {
|
||||
|
||||
Reference in New Issue
Block a user