Update Node.Tests.ps1

This commit is contained in:
gowridurgad
2024-06-26 14:50:00 +05:30
committed by GitHub
parent d920d43ef0
commit 36b2cbcda8

View File

@@ -14,15 +14,6 @@ BeforeAll {
}
}
$useNodeLogFile = Get-ChildItem -Path $logsFolderPath | Where-Object {
$logContent = Get-Content $_.Fullname -Raw
return $logContent -match "setup-node@v"
} | Select-Object -First 1
return $useNodeLogFile.Fullname
}
}
Describe "Node.js" {
It "is available" {
"node --version" | Should -ReturnZeroExitCode