Skip to content

Commit 53d90f5

Browse files
authored
Syntax highlight blocks
1 parent 6c1d538 commit 53d90f5

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)