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

NW6 | Fikret Ellek | React-Module-Project | Week-2 | Order #45

Merged
merged 7 commits into from
Mar 9, 2024

Conversation

fikretellek
Copy link
Collaborator

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

Copy link

netlify bot commented Mar 9, 2024

Deploy Preview for cyf-react-hotel-project ready!

Name Link
🔨 Latest commit 90e5030
🔍 Latest deploy log https://app.netlify.com/sites/cyf-react-hotel-project/deploys/65ebb87ba79f940008efa88d
😎 Deploy Preview https://deploy-preview-45--cyf-react-hotel-project.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@fikretellek fikretellek mentioned this pull request Mar 9, 2024
2 tasks
Add
</button>
</li>
<Order />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice work!

export default function RestaurantButton({ handleAddOrder }) {
return (
<button className="button restaurant__button" onClick={handleAddOrder}>
Add
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good work!

@RbAvci RbAvci merged commit b65e37c into main Mar 9, 2024
4 checks passed
@RbAvci RbAvci deleted the Feature/Order branch March 9, 2024 14:40
fireEvent.click(addButton);
const updatedPizzaText = screen.getByText("Orders: 1");

expect(updatedPizzaText).toBeInTheDocument();
Copy link
Collaborator

Choose a reason for hiding this comment

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

All looking good. Love the complex, useful tests!

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.

4 participants