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 committed Feb 23, 2024
1 parent b93b984 commit 1c25533
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/core/toast.cy.tsx
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 1c25533

Please sign in to comment.