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

Function withExistingClock

cypress/utils/steps.js:53–60  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

51}
52
53function withExistingClock(callback) {
54 return cy.then(() => {
55 const clock = cy.state('clock');
56 if (clock) {
57 callback(clock);
58 }
59 });
60}
61
62function assertNotification(message) {
63 // if clock is use, a tick is needed for toastify to show the notifications

Callers 3

assertNotificationFunction · 0.85
flushClockAndSaveFunction · 0.85
createPostAndExitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected