We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad0832 commit 565182eCopy full SHA for 565182e
1 file changed
src/unixTerminal.test.ts
@@ -291,8 +291,10 @@ if (process.platform !== 'win32') {
291
if (process.platform === 'darwin') {
292
it('should return the name of the process', (done) => {
293
const term = new UnixTerminal('/bin/echo');
294
- assert.strictEqual(term.process, '/bin/echo');
295
- term.on('exit', () => done());
+ term.on('exit', () => {
+ assert.strictEqual(term.process, '/bin/echo');
296
+ done();
297
+ });
298
term.destroy();
299
});
300
it('should return the name of the sub process', (done) => {
0 commit comments