mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Test empty deployment prefix
This commit is contained in:
parent
1e6e94283e
commit
e712d3756d
@ -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()', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user