From 921e8d9f350cfe47b26ad5bcac7498254ca06b04 Mon Sep 17 00:00:00 2001 From: gowridurgad <159780674+gowridurgad@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:41:16 +0530 Subject: [PATCH] Update Node.Tests.ps1 --- tests/Node.Tests.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Node.Tests.ps1 b/tests/Node.Tests.ps1 index ff088c6..c1388b5 100644 --- a/tests/Node.Tests.ps1 +++ b/tests/Node.Tests.ps1 @@ -34,6 +34,11 @@ Describe "Node.js" { $nodePath.startsWith($expectedPath) | Should -BeTrue -Because "'$nodePath' is not started with '$expectedPath'" } + BeforeAll { + Write-Host "Architecture: $($env:PROCESSOR_ARCHITECTURE)" + Write-Host "OS: $($env:OS)" + } + It "cached version is used without downloading" { # Check the architecture and OS before running the test if (($env:PROCESSOR_ARCHITECTURE -ne 'ARM64') -or (($env:OS -ne 'Windows_NT') -and ($env:OS -ne 'Linux'))) {