Skip to content

Commit 61af626

Browse files
Merge pull request #46 from brettz9/patch-1
Syntax highlight blocks
2 parents 6c1d538 + 53d90f5 commit 61af626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/assertion-before-screenshot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ This rule checks there is an assertion making sure your application state is cor
88

99
Invalid:
1010

11-
```
11+
```js
1212
cy.visit('myUrl');
1313
cy.screenshot();
1414
```
1515

1616
Valid:
1717

18-
```
18+
```js
1919
cy.visit('myUrl');
2020
cy.get('[data-test-id="my-element"]').should('be.visible');
2121
cy.screenshot();

0 commit comments

Comments
 (0)