Skip to content

Conversation

@sachinprasad1998mav
Copy link
Contributor

@sachinprasad1998mav sachinprasad1998mav commented May 10, 2023

This pr is relates to #207

});

// Test if the tables are shown and the chart is hidden when the 'Table' button is clicked
test('shows tables and hides chart when table button is clicked', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This Test failing

});

// Test if the chart is shown and the tables are hidden when the 'Chart' button is clicked
test('shows chart and hides tables when chart button is clicked', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Test failing

render(<Summary />);
const SoontoExpire = screen.getByText('Soon to Expire');
expect(SoontoExpire).toBeInTheDocument(); // assert that the button is in the document
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Didn't have to remove these tests they were working fine

@DevangRaval1
Copy link
Contributor

Also coverage is failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants