diff --git a/lib/plugins/awsCompileApigEvents/tests/compileDeployment.js b/lib/plugins/awsCompileApigEvents/tests/compileDeployment.js index 5f5c953b9..d4285af7a 100644 --- a/lib/plugins/awsCompileApigEvents/tests/compileDeployment.js +++ b/lib/plugins/awsCompileApigEvents/tests/compileDeployment.js @@ -42,7 +42,7 @@ describe('#compileDeployment()', () => { it('should create a deployment resource', () => { awsCompileApigEvents.compileDeployment().then(() => { - expect(JSON.strigify(awsCompileApigEvents.serverless.service.resources.aws.Resources)) + expect(JSON.stringify(awsCompileApigEvents.serverless.service.resources.aws.Resources)) .to.equal(JSON.stringify(serviceResourcesAwsResourcesObjectMock.Resources)); }); }); diff --git a/lib/plugins/awsCompileApigEvents/tests/compileRestApi.js b/lib/plugins/awsCompileApigEvents/tests/compileRestApi.js index 972069fc7..b7f3fb391 100644 --- a/lib/plugins/awsCompileApigEvents/tests/compileRestApi.js +++ b/lib/plugins/awsCompileApigEvents/tests/compileRestApi.js @@ -42,7 +42,7 @@ describe('#compileRestApi()', () => { it('should create a REST API resource', () => { awsCompileApigEvents.compileRestApi().then(() => { - expect(JSON.strigify(awsCompileApigEvents.serverless.service.resources.aws.Resources)) + expect(JSON.stringify(awsCompileApigEvents.serverless.service.resources.aws.Resources)) .to.equal(JSON.stringify(serviceResourcesAwsResourcesObjectMock.Resources)); }); }); diff --git a/lib/plugins/awsCompileApigEvents/tests/compileStage.js b/lib/plugins/awsCompileApigEvents/tests/compileStage.js index dfddbf035..99a8cda33 100644 --- a/lib/plugins/awsCompileApigEvents/tests/compileStage.js +++ b/lib/plugins/awsCompileApigEvents/tests/compileStage.js @@ -43,7 +43,7 @@ describe('#compileStage()', () => { it('should create a stage resource', () => { awsCompileApigEvents.compileStage().then(() => { - expect(JSON.strigify(awsCompileApigEvents.serverless.service.resources.aws.Resources)) + expect(JSON.stringify(awsCompileApigEvents.serverless.service.resources.aws.Resources)) .to.equal(JSON.stringify(serviceResourcesAwsResourcesObjectMock.Resources)); }); });