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

Function createPostAndExit

cypress/utils/steps.js:297–303  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

295}
296
297function createPostAndExit(entry) {
298 createPost(entry);
299 withExistingClock(clock => {
300 advanceClock(clock);
301 });
302 exitEditor();
303}
304
305function advanceClock(clock) {
306 if (clock) {

Calls 4

createPostFunction · 0.85
withExistingClockFunction · 0.85
advanceClockFunction · 0.85
exitEditorFunction · 0.85

Tested by

no test coverage detected