Skip to content

Commit

Permalink
Test what happens with Config during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Dec 8, 2024
1 parent bd291d1 commit faf7171
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/GitHub.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faf7171

Please sign in to comment.