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

Function setupTestBackend

cypress/plugins/testBackend.js:4–10  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

2const { merge } = require('lodash');
3
4async function setupTestBackend(options) {
5 await updateConfig(current => {
6 merge(current, options);
7 });
8
9 return null;
10}
11
12module.exports = {
13 setupTestBackend,

Callers 1

setupBackendFunction · 0.85

Calls 2

mergeFunction · 0.85
updateConfigFunction · 0.70

Tested by

no test coverage detected