From 69a1ad3d1638963ea9235480c6e78e6786fa88ed Mon Sep 17 00:00:00 2001 From: Cristopher Pinzon Date: Fri, 2 Feb 2024 16:27:38 -0500 Subject: [PATCH] rewrite test --- spec/unit/index.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/index.spec.js b/spec/unit/index.spec.js index a98413c..d4f2bf7 100644 --- a/spec/unit/index.spec.js +++ b/spec/unit/index.spec.js @@ -177,7 +177,7 @@ describe("LocalstackPlugin", () => { expect(request.called).to.be.true; let templateUrl = request.firstCall.args[2].TemplateURL; // url should either start with 'http://localhost' or 'http://127.0.0.1 - expect(templateUrl).to.satisfy((url) => url === `${config.host}:4566/path/to/template` || url === 'https://localhost.localstack.cloud:4566/path/to/template'); + expect(templateUrl).to.satisfy((url) => url === `${config.host}:4566/path/to/template` || url === 'http://localhost:4566/path/to/template'); }); it('should overwrite the S3 hostname with the value from environment variable', async () => {