Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ Base64 } from
'js-base64'
;
2
import
{ APIError, EditorialWorkflowError } from
'decap-cms-lib-util'
;
3
4
import
APIClass, { MOCK_PULL_REQUEST } from
'../API'
;
Callers
nothing calls this directly
Calls
15
beforeEach
Function · 0.85
afterEach
Function · 0.85
fn
Method · 0.80
getLabels
Method · 0.80
createLabel
Method · 0.80
getOrCreateLabel
Method · 0.80
createFork
Method · 0.80
mockAPI
Function · 0.70
generateContentKey
Method · 0.45
parseContentKey
Method · 0.45
getHeadReference
Method · 0.45
editorialWorkflowGit
Method · 0.45
Tested by
no test coverage detected