[MacOS] Rework NodeJS install (#4380)

This commit is contained in:
Nikolay Frolov
2021-11-09 17:49:30 +03:00
committed by GitHub
parent fa41b676c7
commit 58ce149ebf
7 changed files with 44 additions and 5 deletions

View File

@@ -13,6 +13,10 @@ Describe "Node.js" {
"node --version" | Should -ReturnZeroExitCode
}
It "Node.js version should correspond to the version in the toolset" {
node --version | Should -BeLike "v$(Get-ToolsetValue 'node.default')*"
}
It "Node.js $expectedNodeVersion is default" {
(Get-CommandResult "node --version").Output | Should -BeLike $expectedNodeVersion
}