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

Function resetRepositories

cypress/plugins/github.js:215–218  ·  view source on GitHub ↗
({ owner, repo, tempDir })

Source from the content-addressed store, hash-verified

213}
214
215async function resetRepositories({ owner, repo, tempDir }) {
216 await resetOriginRepo({ owner, repo, tempDir });
217 await resetForkedRepo({ repo });
218}
219
220async function setupGitHub(options) {
221 if (process.env.RECORD_FIXTURES) {

Callers 2

setupGitHubTestFunction · 0.70
teardownGitHubTestFunction · 0.70

Calls 2

resetForkedRepoFunction · 0.85
resetOriginRepoFunction · 0.70

Tested by

no test coverage detected