May 2019
Intermediate to advanced
496 pages
10h 38m
English
Let's start by asserting that each li element has a button element:
it('initially shows a message saying there are no appointments today', () => { render(<AppointmentsDayView appointments={[]} />); expect(container.textContent).toMatch( 'There are no appointments scheduled for today.' );});
return ( <div id="appointmentsDayView"> ... <p>There are no appointments scheduled for today.</p> ...
Read now
Unlock full access