Fixed Pester/PassThru

This commit is contained in:
Jesse Davis
2016-01-13 22:32:44 -06:00
parent 75548931ba
commit 9cc65e4a85
+2
View File
@@ -22,6 +22,8 @@ Describe 'Get-Keystrokes' {
$KeyLogger.Dispose()
It 'Should output to file' { Test-Path "$($env:TEMP)\key.log" | Should Be $true }
$KeyObjects = Get-Content -Path "$($env:TEMP)\key.log" | ConvertFrom-Csv
It 'Should log keystrokes' {
$FileLength = (Get-Item "$($env:TEMP)\key.log").Length