fix(core): update

This commit is contained in:
Philipp Kunz 2019-01-13 22:33:18 +01:00
parent 2357699f3e
commit a77def5844
2 changed files with 3 additions and 1 deletions

View File

@ -17,10 +17,12 @@ tap.test('should create a new class', async () => {
tap.test('key1 should be not be overwritten since it is already present', async () => {
expect(process.env.key1).to.equal('original');
expect(qenvTestObject.getEnvVarOnDemand('key1')).to.equal('original');
});
tap.test('key2 should be read from Yml', async () => {
expect(process.env.key2).to.equal('fromYml');
expect(qenvTestObject.getEnvVarOnDemand('key2')).to.equal('fromYml');
});
tap.test('keyValueObjectArray should hold all retrieved values', async () => {

View File

@ -189,5 +189,5 @@ export class Qenv {
}
}
return missingEnvVars;
};
}
}