1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/packages/unleash-api/test/databaseConfig.js

13 lines
236 B
JavaScript
Raw Normal View History

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