Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit d9b5eff

Browse files
committed
Replaced nextTick by setTimeout to get travis build green
1 parent b61120f commit d9b5eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/commands/project/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ describe('project', function() {
453453

454454
var prevFile = fs.readFileSync(path.resolve(projPath, 'test/api/client/hello-test.js'), {encoding: 'utf8'});
455455

456-
process.nextTick(function mockResponse() {
456+
setTimeout(function () {
457457
stdin.send('y\n');
458458
stdin.send('y\n');
459459
});

0 commit comments

Comments
 (0)