diff --git a/tests/classes/CLI.js b/tests/classes/CLI.js index 2f1ccf1a2..7d1c05cea 100644 --- a/tests/classes/CLI.js +++ b/tests/classes/CLI.js @@ -291,7 +291,8 @@ describe('CLI', () => { process.chdir(this.cwd); }); - it('prints general --help to stdout', (done) => { + it('prints general --help to stdout', function (done) { + this.timeout(10000); exec(`${this.serverlessExec} --help`, (err, stdout) => { if (err) { done(err); @@ -303,7 +304,8 @@ describe('CLI', () => { }); }); - it('prints command --help to stdout', (done) => { + it('prints command --help to stdout', function (done) { + this.timeout(10000); exec(`${this.serverlessExec} deploy --help`, (err, stdout) => { if (err) { done(err); diff --git a/tests/classes/PluginManager.js b/tests/classes/PluginManager.js index 258766c15..459f6e644 100644 --- a/tests/classes/PluginManager.js +++ b/tests/classes/PluginManager.js @@ -763,7 +763,8 @@ describe('PluginManager', () => { }); }); - it('Plugin/CLI integration', () => { + it('Plugin/CLI integration', function () { + this.timeout(10000); const serverlessInstance = new Serverless(); serverlessInstance.init();