static-cms/cypress/plugins/testBackend.js
2020-04-14 11:18:48 +03:00

15 lines
264 B
JavaScript

const { updateConfig } = require('../utils/config');
const { merge } = require('lodash');
async function setupTestBackend(options) {
await updateConfig(current => {
merge(current, options);
});
return null;
}
module.exports = {
setupTestBackend,
};