From 53d90f57e85cc88aeed36729e05630dc3cdb07a7 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Mon, 17 Feb 2020 17:54:06 +0800 Subject: [PATCH] Syntax highlight blocks --- docs/rules/assertion-before-screenshot.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/assertion-before-screenshot.md b/docs/rules/assertion-before-screenshot.md index d144690c..4c127015 100644 --- a/docs/rules/assertion-before-screenshot.md +++ b/docs/rules/assertion-before-screenshot.md @@ -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();