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

connect to food api + add item list unit test #23

Merged
merged 10 commits into from
Mar 8, 2022

Conversation

harlexkhal
Copy link
Owner

  • Connect to food API
  • Add unit test for a list of home page items

@harlexkhal harlexkhal requested a review from mnekx March 8, 2022 15:21
Comment on lines 2 to 4

describe('Food Application ', () => {
test('Home page item count', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

The test follows the AAA pattern, one thing though: consider below:

image
The describe could be "Food Items" and test could be "count items" to better describe the test. Dont you think?

Copy link
Collaborator

@mnekx mnekx left a comment

Choose a reason for hiding this comment

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

There is nothing more to change. we can now merge this.

@harlexkhal harlexkhal merged commit 44b35b7 into development Mar 8, 2022
@harlexkhal harlexkhal deleted the connect-food-api branch March 8, 2022 16:58
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.

None yet

2 participants