Clean up Pester tests
This commit is contained in:
13
Tests/Classes/ScriptProfiler.Tests.ps1
Normal file
13
Tests/Classes/ScriptProfiler.Tests.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
InModuleScope Chronometer {
|
||||
|
||||
Describe "Class: ScriptProfiler" -Tag Build {
|
||||
|
||||
It "Creates an Object" {
|
||||
{[ScriptProfiler]::New()} | Should Not Throw
|
||||
}
|
||||
|
||||
It "Start()" {
|
||||
{[ScriptProfiler]::Start()} | Should Not Throw
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user