Test empty deployment prefix

This commit is contained in:
Mariusz Nowak 2019-11-20 12:44:12 +01:00
parent 1e6e94283e
commit e712d3756d
No known key found for this signature in database
GPG Key ID: B1FBDA8A182B03F2

View File

@ -1312,6 +1312,12 @@ describe('AwsProvider', () => {
expect(awsProvider.getDeploymentPrefix()).to.equal('serverless');
});
it('should support no prefix', () => {
serverless.service.provider.deploymentPrefix = '';
expect(awsProvider.getDeploymentPrefix()).to.equal('');
});
});
describe('#getStage()', () => {