MCPcopy Create free account
hub / github.com/decaporg/decap-cms / advanceClock

Function advanceClock

cypress/utils/steps.js:306–314  ·  view source on GitHub ↗
(clock)

Source from the content-addressed store, hash-verified

304}
305
306function advanceClock(clock) {
307 if (clock) {
308 // https://github.com/cypress-io/cypress/issues/1273
309 clock.tick(150);
310 clock.tick(150);
311 // eslint-disable-next-line cypress/no-unnecessary-waiting
312 cy.wait(500);
313 }
314}
315
316function publishEntry({ createNew = false, duplicate = false } = {}) {
317 cy.then(() => {

Callers 4

assertNotificationFunction · 0.85
flushClockAndSaveFunction · 0.85
createPostAndExitFunction · 0.85
publishEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected