Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
#129 Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MilitsaB committed Mar 28, 2022
1 parent 831f3bd commit b8fe81a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/test/Dashboards/medicalDashboard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test('Medical Dashboard Renders Test', () => {
expect(component.getByText('Name')).toBeTruthy();
expect(component.getByText('Age')).toBeTruthy();
expect(component.getByText('Appointment Dates')).toBeTruthy();
expect(component.getByText('Symptoms')).toBeTruthy();
expect(component.getByText('Severity')).toBeTruthy();
});

test('Medical Dashboard Renders View Appointments', () => {
Expand All @@ -66,5 +66,5 @@ test('Medical Dashboard Renders View Appointments', () => {
expect(component.getByText('Name')).toBeTruthy();
expect(component.getByText('Age')).toBeTruthy();
expect(component.getByText('Appointment Dates')).toBeTruthy();
expect(component.getByText('Symptoms')).toBeTruthy();
expect(component.getByText('Severity')).toBeTruthy();
});
2 changes: 1 addition & 1 deletion src/test/patientInfo.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('Patient Info Renders correctly', async () => {
expect(appointmentButton).toBeTruthy();
await fireEvent.click(appointmentButton);

expect(component.getByText('Patient' Info')).toBeTruthy();
expect(component.getByText("Patient's Info")).toBeTruthy();
expect(component.getByText('Latest Symptoms')).toBeTruthy();

const historyButton = component.getByText('History');
Expand Down

0 comments on commit b8fe81a

Please sign in to comment.