Exercises
- Rename 
Appointment.jsandAppointment.test.jstoAppointmentsDayView.jsandAppointmentsDayView.test.js. While it’s fine to include multiple components in one file if they form a hierarchy, you should always name the file after the root component for that hierarchy. - Complete the 
Appointmentcomponent by displaying the following fields on the page. You should use atableHTML element to give the data some visual structure. This shouldn’t affect how you write your tests. The fields that should be displayed are the following:- Customer last name, using the 
lastNamefield - Customer telephone number, using the 
phoneNumberfield - Stylist name, using the 
stylistfield - Salon service, using the 
servicefield - Appointment notes, using the 
notesfield 
 - Customer last name, using the 
 - Add a heading to 
Appointmentto make it clear which appointment time is being viewed. - There is some repeated sample data. We’ve used sample data in our tests, and we also have 
sampleAppointmentsinsrc...