mirror of
https://github.com/koodiklinikka/koodiklinikka.fi-api.git
synced 2026-03-05 06:00:04 +00:00
add snapshot tests for invites endpoint
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
var _ = require('lodash');
|
||||
var config = {};
|
||||
const template = require('../config.template.json');
|
||||
|
||||
try {
|
||||
config = require('../config.json');
|
||||
@@ -25,4 +26,4 @@ var envVars = _.reduce(process.env, function(memo, value, key) {
|
||||
return _.set(memo, toPath(key), value);
|
||||
}, {});
|
||||
|
||||
module.exports = _.merge({}, config.all, config[env], envVars);
|
||||
module.exports = _.merge({}, template.development, config.all, config[env], envVars);
|
||||
|
||||
Reference in New Issue
Block a user