From cd7151da45cd90f4636ec27a917fdd3dda10ae15 Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Mon, 19 Dec 2016 18:40:53 +0100 Subject: [PATCH] fix test as it not always have to be exactly x digits --- tests/integration/aws/general/package/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/aws/general/package/tests.js b/tests/integration/aws/general/package/tests.js index a3d0a8f9f..9f67d80db 100644 --- a/tests/integration/aws/general/package/tests.js +++ b/tests/integration/aws/general/package/tests.js @@ -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) => {