Skip to content

Commit c1bca00

Browse files
committed
tests: Troubleshooting smoke tests
1 parent 5f19399 commit c1bca00

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

deploy/Invoke-SmokeTests.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BeforeAll {
1616
Describe 'New-PowerShellScriptModuleRepository' {
1717
It 'Should create a new directory with the module repository files' {
1818
# Arrange.
19-
$repositoryDirectoryPath = "$TestDrive\NewModule"
19+
$repositoryDirectoryPath = "$TestDrive\NewModuleRepo"
2020
$moduleName = 'NewModule'
2121
$organizationName = 'My Organization'
2222

@@ -28,6 +28,10 @@ Describe 'New-PowerShellScriptModuleRepository' {
2828
# Act.
2929
New-PowerShellScriptModuleRepository -RepositoryDirectoryPath $repositoryDirectoryPath -ModuleName $moduleName -OrganizationName $organizationName -Verbose
3030

31+
Write-Output "Module directory path: $repositoryDirectoryPath"
32+
Get-ChildItem -Path $repositoryDirectoryPath -Recurse |
33+
Select-Object -ExpandProperty FullName
34+
3135
# Assert.
3236
$expectedModuleDirectoryPath | Should -Exist
3337
$expectedModuleFilePath | Should -Exist

0 commit comments

Comments
 (0)