GetVaultConfig tests fixed

Signed-off-by: Casper Thygesen <cth@trifork.com>
This commit is contained in:
Casper Thygesen
2022-12-01 15:50:58 +00:00
parent 8f29738d5c
commit a1cbb8d041
@@ -40,6 +40,7 @@ describe('GetVaultConfig', () => {
const vaultConfig = getVaultConfig(config);
expect(vaultConfig).toStrictEqual({
baseUrl: 'http://www.example.com',
publicUrl: undefined,
token: '123',
kvVersion: 2,
secretEngine: 'secrets',
@@ -59,6 +60,7 @@ describe('GetVaultConfig', () => {
const vaultConfig = getVaultConfig(config);
expect(vaultConfig).toStrictEqual({
baseUrl: 'http://www.example.com',
publicUrl: undefined,
token: '123',
kvVersion: 1,
secretEngine: 'test',