From 13495c34f452d32d3ff0f5d2f1bf9481f9a09452 Mon Sep 17 00:00:00 2001 From: Cristopher Pinzon Date: Mon, 29 Jan 2024 16:38:18 -0500 Subject: [PATCH] test should assert the new default endpoint --- 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 62efb7a..a98413c 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 === 'http://127.0.0.1:4566/path/to/template'); + expect(templateUrl).to.satisfy((url) => url === `${config.host}:4566/path/to/template` || url === 'https://localhost.localstack.cloud:4566/path/to/template'); }); it('should overwrite the S3 hostname with the value from environment variable', async () => {