MCPcopy Create free account
hub / github.com/decaporg/decap-cms / API.spec.js

File API.spec.js

packages/decap-cms-backend-forgejo/src/__tests__/API.spec.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Base64 } from 'js-base64';
2import { APIError, EditorialWorkflowError } from 'decap-cms-lib-util';
3
4import APIClass, { MOCK_PULL_REQUEST } from '../API';

Callers

nothing calls this directly

Calls 15

beforeEachFunction · 0.85
afterEachFunction · 0.85
fnMethod · 0.80
getLabelsMethod · 0.80
createLabelMethod · 0.80
getOrCreateLabelMethod · 0.80
createForkMethod · 0.80
mockAPIFunction · 0.70
generateContentKeyMethod · 0.45
parseContentKeyMethod · 0.45
getHeadReferenceMethod · 0.45
editorialWorkflowGitMethod · 0.45

Tested by

no test coverage detected