From 074e068af42456a814f9a34bade44dce08b67736 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Thu, 28 Mar 2024 18:50:01 +0100 Subject: [PATCH] test: fix grammar in test comments --- app/commands/spies-stubs-clocks.html | 4 ++-- cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/commands/spies-stubs-clocks.html b/app/commands/spies-stubs-clocks.html index 42b091526..9e766f36f 100644 --- a/app/commands/spies-stubs-clocks.html +++ b/app/commands/spies-stubs-clocks.html @@ -128,7 +128,7 @@

cy.stub()

cy.clock()

To control time in the browser, use the cy.clock() command.

-
// create the date in UTC so its always the same
+          
// create the date in UTC so it's always the same
 // no matter what local timezone the browser is running in
 const now = new Date(Date.UTC(2017, 2, 14)).getTime()
 
@@ -150,7 +150,7 @@ 

cy.clock()

cy.tick()

To move time in the browser, use the cy.tick() command.

-
// create the date in UTC so its always the same
+          
// create the date in UTC so it's always the same
 // no matter what local timezone the browser is running in
 const now = new Date(Date.UTC(2017, 2, 14)).getTime()
 
diff --git a/cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js b/cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js
index e148094c6..49f703f1f 100644
--- a/cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js
+++ b/cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js
@@ -69,7 +69,7 @@ context('Spies, Stubs, and Clock', () => {
   it('cy.clock() - control time in the browser', () => {
     // https://on.cypress.io/clock
 
-    // create the date in UTC so its always the same
+    // create the date in UTC so it's always the same
     // no matter what local timezone the browser is running in
     const now = new Date(Date.UTC(2017, 2, 14)).getTime()
 
@@ -83,7 +83,7 @@ context('Spies, Stubs, and Clock', () => {
   it('cy.tick() - move time in the browser', () => {
     // https://on.cypress.io/tick
 
-    // create the date in UTC so its always the same
+    // create the date in UTC so it's always the same
     // no matter what local timezone the browser is running in
     const now = new Date(Date.UTC(2017, 2, 14)).getTime()