Skip to content

Commit

Permalink
chore: remove test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
thekidnamedkd committed Oct 31, 2024
1 parent c21d604 commit b472bec
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ describe('<ProposalVotingContainer /> component', () => {
return <ProposalVotingContainer {...completeProps} />;
};

it('renders the proposal voting title and description', () => {
const title = 'Proposal voting';
const description = 'Description for the voting terminal';
render(createTestComponent({ title, description }));
expect(screen.getByRole('heading', { level: 2, name: title })).toBeInTheDocument();
expect(screen.getByText(description)).toBeInTheDocument();
});

it('renders an accordion container when having more than one child', () => {
const children = [
<ProposalVotingStage key="0" status={ProposalVotingStatus.ACCEPTED} startDate={0} endDate={0} />,
Expand Down

0 comments on commit b472bec

Please sign in to comment.