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

12 lines
265 B
JavaScript

'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 = {
getDatabaseUri: getDatabaseUri
};