From faf71717ce64c2295f4ecb31025aaa06cc530696 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 8 Dec 2024 10:28:24 +0100 Subject: [PATCH] Test what happens with Config during tests --- tests/GitHub.Tests.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/GitHub.Tests.ps1 b/tests/GitHub.Tests.ps1 index c917007c..f24ad716 100644 --- a/tests/GitHub.Tests.ps1 +++ b/tests/GitHub.Tests.ps1 @@ -6,6 +6,13 @@ param() Describe 'GitHub' { + Context 'Config' { + It 'Can get the configuration' { + $config = Get-GitHubConfig + Write-Verbose ($config | Format-Table | Out-String) -Verbose + $config | Should -Not -BeNullOrEmpty + } + } Context 'Auth' { BeforeAll { Disconnect-GitHubAccount -Context 'github.com/github-actions[bot]' -Silent