Added pester tests for Wait-Event

This commit is contained in:
Alex Jordan
2015-11-19 06:24:42 +00:00
parent f908daebfb
commit 0147d108a2
+9
View File
@@ -0,0 +1,9 @@
Describe "Wait-Event" {
Context "Validate Wait-Event is waiting for events" {
It "Should verify Wait-Event is waiting for at least a second" {
$waiteventtime = Measure-Command { Wait-Event -timeout 1 }
$waiteventtime.Seconds | Should BeGreaterThan 0
}
}
}