Update Node.Tests.ps1
This commit is contained in:
@@ -4,7 +4,7 @@ Import-Module "$PSScriptRoot/../helpers/Tests.Helpers.psm1"
|
|||||||
Describe "Node.JS" {
|
Describe "Node.JS" {
|
||||||
BeforeAll {
|
BeforeAll {
|
||||||
$os = Get-OSVersion
|
$os = Get-OSVersion
|
||||||
$expectedNodeVersion = if ($os.IsHigherThanMojave) { "v12.*" } else { "v8.*" }
|
$expectedNodeVersion = if ($os.IsHigherThanMojave) { "v14.*" } else { "v8.*" }
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Node.JS is installed" {
|
It "Node.JS is installed" {
|
||||||
|
|||||||
Reference in New Issue
Block a user