|
'use strict';
|
|
|
|
const config = require('../config/config');
|
|
|
|
const resourceLocation = () => {
|
|
if (process.env.NODE_ENV === config.test.dredd.env) {
|
|
return config.test.dredd.resourceLocation;
|
|
}
|
|
return config.resourceLocation;
|
|
};
|
|
|
|
exports.resourceLocation = resourceLocation;
|