15 lines
264 B
JavaScript
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,
|
||
|
};
|