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

File API.spec.js

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

Source from the content-addressed store, hash-verified

1import API, { getMaxAccess } from '../API';
2
3global.fetch = jest.fn().mockRejectedValue(new Error('should not call fetch inside tests'));
4

Callers

nothing calls this directly

Calls 6

getMaxAccessFunction · 0.90
beforeEachFunction · 0.85
fnMethod · 0.80
hasWriteAccessMethod · 0.45
readFileMethod · 0.45
getStatusesMethod · 0.45

Tested by

no test coverage detected