-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
I am trying out the node-config-reloadable dependency without success. I copied the test case
let config = require('config-reloadable');
describe("node-config load", () => {
test("loading", () => {
const r1 = config().get('rand');
config.reloadConfigs();
const r2 = config().get('rand');
expect(r1).not.toEqual(r2);
});
});
The expectation came back as false as the rand value did not get recalculated.
The dependencies I am using are
"config": "3.3.7",
"config-reloadable": "1.0.9",
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels