Skip to content

Commit

Permalink
🩹 [Patch]: Enhance verbose output for secret management in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Dec 9, 2024
1 parent 478ab3d commit edac0eb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/Context.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
param()

BeforeAll {
Get-SecretInfo- Verbose | Remove-Secret -Verbose
Get-SecretVault -Verbose | Unregister-SecretVault -Verbose
$secrets = Get-SecretInfo -Verbose
Write-Verbose "Secrets: $($secrets.Count)" -Verbose
Write-Verbose ($secrets | Format-Table | Out-String) -Verbose
$secrets | Remove-Secret -Verbose
$vault = Get-SecretVault -Verbose
Write-Verbose "Vault: $($vault.Count)" -Verbose
Write-Verbose ($vault | Format-Table | Out-String) -Verbose
$vault | Unregister-SecretVault -Verbose
}

Describe 'Functions' {
Expand Down

0 comments on commit edac0eb

Please sign in to comment.