mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Allow integration tests longer timeouts
This commit is contained in:
parent
eec54e348b
commit
d6bdef35ce
@ -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);
|
||||
|
||||
@ -763,7 +763,8 @@ describe('PluginManager', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('Plugin/CLI integration', () => {
|
||||
it('Plugin/CLI integration', function () {
|
||||
this.timeout(10000);
|
||||
const serverlessInstance = new Serverless();
|
||||
serverlessInstance.init();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user