All files / blong-int-adapter/vault/test/fixtures secret.ts

100% Statements 23/23
100% Branches 0/0
100% Functions 0/0
100% Lines 23/23

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 241x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * Fixture data for Vault integration tests.
 * Used by testVaultSecretCrud to seed and verify CRUD operations.
 * The Vault CI deployment uses KV v1 (dev mode with -dev-kv-v1).
 */
 
/** Namespace prefix for all test secrets, enabling isolated list and cleanup. */
export const SECRET_PREFIX = 'secret/blong-test/';
 
export const secrets = [
    {
        path: 'secret/blong-test/alpha',
        data: {blongKey: 'alpha-value', blongSource: 'blong-integration'},
    },
    {
        path: 'secret/blong-test/beta',
        data: {blongKey: 'beta-value', blongVersion: 1},
    },
] as const;
 
export const updatedSecret = {
    data: {blongKey: 'alpha-updated', blongSource: 'blong-integration-updated'},
} as const;