mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Fix typo in JSON.stringify usages
This commit is contained in:
parent
8031d07d1b
commit
01afb8aefe
@ -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));
|
||||
});
|
||||
});
|
||||
|
||||
@ -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));
|
||||
});
|
||||
});
|
||||
|
||||
@ -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));
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user