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/e2e/databaseConfig.js
2020-02-20 08:30:33 +01:00

14 lines
237 B
JavaScript

'use strict';
function getDatabaseUri () {
if (!process.env.TEST_DATABASE_URL) {
throw new Error('please set TEST_DATABASE_URL');
}
return process.env.TEST_DATABASE_URL;
}
module.exports = {
getDatabaseUri,
};