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

Featurebookingstate #50

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

Featurebookingstate #50

wants to merge 2 commits into from

Conversation

nazaninsaedi
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 19, 2024

Deploy Preview for react-module-project-nw6-team-2 ready!

Name Link
🔨 Latest commit 9eb31cf
🔍 Latest deploy log https://app.netlify.com/sites/react-module-project-nw6-team-2/deploys/65f9f63c01ca410008b6fd10
😎 Deploy Preview https://deploy-preview-50--react-module-project-nw6-team-2.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.

Copy link

@Ara225 Ara225 left a comment

Choose a reason for hiding this comment

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

Little typo here, good otherwise!

// import SearchResults from "@/componentsSearchResults.js";
// import FakeBookings from "@/data/fakeBookings.json";

const Bookings = () => {

const [bookings, setBookings] = useSatet(FakeBookings);
Copy link

Choose a reason for hiding this comment

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

There's a little typo here :)

render(<Bookings />);
const mainElement = screen.getByRole("main");
const mainElement = screen.getByRole('main');
expect(mainElement).toBeInTheDocument();
Copy link

Choose a reason for hiding this comment

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

Good to see you've done a test here but do remember to also check it in the browser!

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