mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
21 lines
587 B
PowerShell
21 lines
587 B
PowerShell
Describe "Node.JS" {
|
|
Context "Basic modules"{
|
|
It "<ToolName> " -TestCases @(
|
|
@{ ToolName = "node" }
|
|
@{ ToolName = "npm" }
|
|
) {
|
|
"$ToolName --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
Context "Global NPM Packages" {
|
|
It "<ToolName> " -TestCases @(
|
|
@{ ToolName = "gulp" }
|
|
@{ ToolName = "grunt" }
|
|
@{ ToolName = "yarn" }
|
|
@{ ToolName = "lerna" }
|
|
@{ ToolName = "newman" }
|
|
) {
|
|
"$ToolName --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
} |