Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CSL-3352] Enforce HTTPS on ServiceUrl #193

Merged
merged 7 commits into from
Mar 29, 2024

Conversation

HFaifman
Copy link
Contributor

No description provided.

@HFaifman HFaifman requested a review from esezen March 28, 2024 21:34
@@ -247,6 +248,32 @@ describe('ConstructorIO - Utils - Helpers', () => {
it('Should prefer local method headers when both global and local method options headers are defined', () => {
expect(combineCustomHeaders(globalOptions, methodOptions)).to.deep.equal(methodOptions.headers);
});

it('Should return the url without any modification', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like these tests are under the describe statement of another function (describe('combineCustomHeaders'...). Can we move them to a describe statement of their own?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sure! Sorry about that.

@HFaifman HFaifman requested a review from esezen March 29, 2024 15:02
Copy link
Contributor

@esezen esezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @HFaifman I added one additional test but the rest looks good. Thanks for working on this

@esezen esezen merged commit 83ddd7a into master Mar 29, 2024
8 checks passed
@esezen esezen deleted the csl-3352-client-node-enforce-https-on-serviceurl branch March 29, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants