mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix test as it not always have to be exactly x digits
This commit is contained in:
parent
524d596a9d
commit
cd7151da45
@ -30,7 +30,7 @@ describe('AWS - General: Deployment with --noDeploy', () => {
|
||||
expect(deployedFiles[0]).to.equal('cloudformation-template-create-stack.json');
|
||||
expect(deployedFiles[1]).to.equal('cloudformation-template-update-stack.json');
|
||||
// Note: noticed the seconds section can vary a lot
|
||||
expect(deployedFiles[2]).to.match(/test-[0-9]{1,}-[0-9]{9}.zip/);
|
||||
expect(deployedFiles[2]).to.match(/test-[0-9]{1,}-[0-9]{1,}.zip/);
|
||||
});
|
||||
|
||||
it('should not found stack from AWS', (done) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user