Skip to content

Commit

Permalink
Merge pull request #46 from brettz9/patch-1
Browse files Browse the repository at this point in the history
Syntax highlight blocks
  • Loading branch information
jennifer-shehane authored Feb 18, 2020
2 parents 6c1d538 + 53d90f5 commit 61af626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/assertion-before-screenshot.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ This rule checks there is an assertion making sure your application state is cor

Invalid:

```
```js
cy.visit('myUrl');
cy.screenshot();
```

Valid:

```
```js
cy.visit('myUrl');
cy.get('[data-test-id="my-element"]').should('be.visible');
cy.screenshot();
Expand Down

0 comments on commit 61af626

Please sign in to comment.