mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-11-26 07:26:18 +01:00
refactor(tests): streamline test cases
This commit is contained in:
@@ -10,6 +10,7 @@ BeforeAll {
|
||||
|
||||
Describe 'Get-StartMenuUserNameFromPath' {
|
||||
BeforeEach {
|
||||
Mock Write-Host {}
|
||||
# Restore copies are named to the second; clear them so tests sharing $TestDrive cannot see each other's copy
|
||||
Get-ChildItem -LiteralPath $TestDrive -Filter 'Win11Debloat-StartRestore-*.bak' | Remove-Item -Force
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user