diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js index 355f9636e..880f9a385 100644 --- a/lib/plugins/aws/invokeLocal/index.test.js +++ b/lib/plugins/aws/invokeLocal/index.test.js @@ -934,7 +934,8 @@ describe('AwsInvokeLocal', () => { }); describe('context.remainingTimeInMillis', () => { - it('should become lower over time', () => { + it('should become lower over time', function () { + this.timeout(3000); // On Windows it tends to timeout with 2000 awsInvokeLocal.serverless.config.servicePath = __dirname; return awsInvokeLocal.invokeLocalRuby( @@ -948,7 +949,9 @@ describe('AwsInvokeLocal', () => { }); describe('calling a class method', () => { - it('should execute', () => { + it('should execute', function () { + this.timeout(3000); // On Windows it tends to timeout with 2000 + awsInvokeLocal.serverless.config.servicePath = __dirname; return awsInvokeLocal.invokeLocalRuby(