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 @@
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()