mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Add support for passing in custom env file to nconf.
This commit is contained in:
@@ -14,4 +14,4 @@ global.sandbox = sinon.sandbox.create();
|
||||
//------------------------------
|
||||
// Load nconf for unit tests
|
||||
//------------------------------
|
||||
require('../../website/src/libs/api-v3/setupNconf')();
|
||||
require('../../website/src/libs/api-v3/setupNconf')('./config.json.example');
|
||||
|
||||
Reference in New Issue
Block a user