1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/packages/unleash-api/test/databaseConfig.js

12 lines
250 B
JavaScript
Raw Normal View History

'use strict';
function getDatabaseUri() {
if (!process.env.TEST_DATABASE_URL) {
throw new Error('please set TEST_DATABASE_URL');
} else {
return process.env.TEST_DATABASE_URL;
}
}
module.exports = {
2016-06-18 21:55:46 +02:00
getDatabaseUri,
};