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