-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for react-module-project-nw6-team-2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this 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); |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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!
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.