Update Node.Tests.ps1

This commit is contained in:
aparnajyothi-y 2024-07-08 16:21:06 +05:30 committed by GitHub
parent f0dfcccfe7
commit c79c183aa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,9 @@
Import-Module (Join-Path $PSScriptRoot "../helpers/pester-extensions.psm1") Import-Module (Join-Path $PSScriptRoot "../helpers/pester-extensions.psm1")
Describe "Node.js" {
BeforeAll { BeforeAll {
function Get-UseNodeLogs { function Get-UseNodeLogs {
@ -14,7 +18,6 @@ BeforeAll {
} }
} }
Describe "Node.js" {
It "is available" { It "is available" {
"node --version" | Should -ReturnZeroExitCode "node --version" | Should -ReturnZeroExitCode
} }