Skip to content

Commit

Permalink
Add test to fix coverage
Browse files Browse the repository at this point in the history
Run yarn prettier
  • Loading branch information
simgar98 authored and fkhadra committed Mar 2, 2024
1 parent 09cf0fb commit aea0bd9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/core/toast.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,14 @@ describe('with multi containers', () => {
cy.findByText('first container').should('exist');
cy.findByText('third container').should('not.exist');
cy.findByText('third container second toast').should('not.exist');
cy.findByText('first container').should('exist');
cy.findByText('first container')
.should('exist')
.then(() => {
toast.dismiss({ containerId: 'Non-Existing Container Id' });

cy.findByText('first container').should('not.exist');
cy.findByText('third container').should('not.exist');
});
});
});

Expand Down

0 comments on commit aea0bd9

Please sign in to comment.