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

Function withExistingClock

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

Source from the content-addressed store, hash-verified

54}
55
56function withExistingClock(callback) {
57 return cy.then(() => {
58 const clock = cy.state('clock');
59 if (clock) {
60 callback(clock);
61 }
62 });
63}
64
65function assertNotification(message) {
66 // 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