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

Function createPostAndExit

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

Source from the content-addressed store, hash-verified

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

Calls 4

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

Tested by

no test coverage detected