Skip to content

Commit

Permalink
test should assert the new default endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzon committed Jan 29, 2024
1 parent 2d1c737 commit 13495c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 13495c3

Please sign in to comment.