|
386 | 386 | $files | Remove-Item -Force -ErrorAction SilentlyContinue | Out-Null
|
387 | 387 | }
|
388 | 388 |
|
389 |
| - # Marking this test to skip. It works just fine, but takes 26 second to execute. |
390 |
| - # Not worth it for the moderate improvement to code coverage. |
391 |
| - It 'Should throw an exception because there are too many files' -Skip:(-not ([string]::IsNullOrEmpty($env:ciAccessToken))) { |
| 389 | + # May want to consider skipping this test. |
| 390 | + # It works just fine, but takes 26 second to execute. |
| 391 | + # (May not be worth it for the moderate improvement to code coverage.) |
| 392 | + It 'Should throw an exception because there are too many files' { |
392 | 393 | $gist = $files | New-GitHubGist
|
393 | 394 | { $gist | Get-GitHubGist -Path $tempPath -Force } | Should -Throw
|
394 | 395 | $gist | Remove-GitHubGist -Force
|
|
409 | 410 | Remove-Item -Force -ErrorAction SilentlyContinue | Out-Null
|
410 | 411 | }
|
411 | 412 |
|
412 |
| - # Marking this test to skip. It works just fine, but takes 82 second to execute. |
413 |
| - # Not worth it for the moderate improvement to code coverage. |
414 |
| - It 'Should throw an exception because the file is too large to download' -Skip:(-not ([string]::IsNullOrEmpty($env:ciAccessToken))) { |
| 413 | + # May want to consider skipping this test. |
| 414 | + # It works just fine, but takes 26 second to execute. |
| 415 | + # (May not be worth it for the moderate improvement to code coverage.) |
| 416 | + It 'Should throw an exception because the file is too large to download' { |
415 | 417 | $gist = $tenMegFile | New-GitHubGist
|
416 | 418 | { $gist | Get-GitHubGist -Path $tempPath -Force } | Should -Throw
|
417 | 419 | $gist | Remove-GitHubGist -Force
|
|
0 commit comments