Skip to content

Commit

Permalink
chore: add test case that shows the issue back to the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorakas-eli committed May 2, 2024
1 parent b400d55 commit edc37e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/lib/rules/unsafe-to-chain-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ ruleTester.run('action-ends-chain', rule, {
code: 'cy.focused().should("be.visible");',
parserOptions,
},
{
code: 'cy.submitBtn().click();',
parserOptions,
},
],

invalid: [
Expand Down

0 comments on commit edc37e4

Please sign in to comment.