Skip to content

Volodymyr w2 node.js #19

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Volodymyr-coder
Copy link

No description provided.

@profxed profxed added To review Week 2 Week 2 assignment labels Mar 3, 2025
@profxed profxed self-assigned this Mar 3, 2025
Copy link

@profxed profxed left a comment

Choose a reason for hiding this comment

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

Great work,

You've made some good enough use case as required in the assignment requirements, with your clean structure you have covered key test scenarios.

LGTM; keep it up. 🎉

expect(response.status).toBe(404);
expect(response.body).toEqual({ weatherText: 'City is not found!' });
});

Copy link

Choose a reason for hiding this comment

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

what about the 'City name is required'?

Comment on lines +1 to +5
const keys = {
API_KEY: 'a8fc789e050aec4c98ab7d578a5266dc'
};

export default keys;
Copy link

Choose a reason for hiding this comment

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

this is the easy way as requested by the homework description, have you thought of a bit safer more reliable way? maybe you wanna lookup dotenv?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Week 2 Week 2 assignment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants