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

add check for user defined hostname #93

Closed
wants to merge 2 commits into from

Conversation

targhs
Copy link

@targhs targhs commented Apr 3, 2023

#61

Is it how we are expecting it to be? Can add to documentation if this seems good.
Also any suggestions as to how to write test cases for this. Current tests already fails. Shall we use something like msw to mock requests for testing the custom host functionality?

@sindresorhus
Copy link
Owner

Is it how we are expecting it to be?

👍

@sindresorhus
Copy link
Owner

The test need some kind of mocking, yes.

@targhs
Copy link
Author

targhs commented Apr 4, 2023

Thanks. Will add test cases too.

@targhs
Copy link
Author

targhs commented Apr 9, 2023

I am not that much comfortable with AVA for testing. It might take some time (or forever) for me to get this done. You could merge this if that's ok. I can add test cases later on as and when i get some spare time.

Updating readme for the added functionality.

@sindresorhus
Copy link
Owner

You could merge this if that's ok.

I'm not interested in merging untested code.

I can add test cases later on as and when i get some spare time.

From experience, that never happens.

@sindresorhus
Copy link
Owner

Closing this for now.

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