From d905fd74df0b29c39e6a4f80cebccc6533986af1 Mon Sep 17 00:00:00 2001 From: Anton Shmigel Date: Tue, 23 Apr 2024 14:57:35 +0300 Subject: [PATCH] unskipped delete files test in test/scripts/Watch-Directory.Tests.ps1 --- image/test/scripts/Watch-Directory.Tests.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/image/test/scripts/Watch-Directory.Tests.ps1 b/image/test/scripts/Watch-Directory.Tests.ps1 index cac1ea8..197e0fb 100644 --- a/image/test/scripts/Watch-Directory.Tests.ps1 +++ b/image/test/scripts/Watch-Directory.Tests.ps1 @@ -62,8 +62,7 @@ Describe 'Watch-Directory.ps1' { "$($dst)\file.txt" | Should -Exist } - # Note: current test isn't working correct, "dst" folder always contains "file.txt". - It 'deletes files' -Skip { + It 'deletes files' { $src = New-Item -Path (Join-Path $TestDrive (Get-Random)) -ItemType 'Directory' $dst = New-Item -Path (Join-Path $TestDrive (Get-Random)) -ItemType 'Directory' New-Item -Path "$($src)\file.txt" -ItemType 'File'