Skip to content

Commit d058070

Browse files
authored
Update CLI test node version (#320)
1 parent 3296de0 commit d058070

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

test/cli/bashTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const nvsRootDir = path.resolve(__dirname, '..', '..');
88
const testParentDir = path.resolve(__dirname, '..', 'temp');
99
const testDir = path.join(testParentDir, 'bash');
1010

11-
const testNodeVersion = '8.5.0';
11+
const testNodeVersion = '24.19.0';
1212

1313
test.before(t => {
1414
require('../fsUtil').createDirectoryIfNotFound(testParentDir);

test/cli/cmdTests.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const nvsRootDir = path.resolve(__dirname, '..', '..');
88
const testParentDir = path.resolve(__dirname, '..', 'temp');
99
const testDir = path.join(testParentDir, 'cmd');
1010

11-
const testNodeVersion = '8.5.0';
12-
const testNpmVersion = '6.4.1';
11+
const testNodeVersion = '24.19.0';
12+
const testNpmVersion = '11.17.0';
1313

1414
test.before(t => {
1515
require('../fsUtil').createDirectoryIfNotFound(testParentDir);
@@ -53,6 +53,8 @@ test('Command Prompt CLI', t => {
5353
'NVS_HOME': testDir,
5454
'NVS_LINK_TO_SYSTEM': '0',
5555
'NVS_DEBUG': '1',
56+
'PROCESSOR_ARCHITECTURE': process.env['PROCESSOR_ARCHITECTURE'],
57+
'PROCESSOR_ARCHITEW6432': process.env['PROCESSOR_ARCHITEW6432'],
5658
'ProgramFiles': process.env['ProgramFiles'],
5759
},
5860
cwd: nvsRootDir,

test/cli/gitBashTests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const testParentDir = path.resolve(__dirname, '..', 'temp');
99
const testDir = path.join(testParentDir, 'git-bash');
1010
const shellProfileFile = path.join(testParentDir, '.shell_profile');
1111

12-
const testNodeVersion = '10.24.1';
13-
const testNpmVersion = '6.4.1';
12+
const testNodeVersion = '24.19.0';
13+
const testNpmVersion = '11.17.0';
1414

1515
test.before(t => {
1616
require('../fsUtil').createDirectoryIfNotFound(testParentDir);

test/cli/psTests.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const nvsRootDir = path.resolve(__dirname, '..', '..');
88
const testParentDir = path.resolve(__dirname, '..', 'temp');
99
const testDir = path.join(testParentDir, 'ps');
1010

11-
const testNodeVersion = '8.5.0';
12-
const testNpmVersion = '6.4.1';
11+
const testNodeVersion = '24.19.0';
12+
const testNpmVersion = '11.17.0';
1313

1414
test.before(t => {
1515
require('../fsUtil').createDirectoryIfNotFound(testParentDir);
@@ -50,6 +50,8 @@ test('PowerShell CLI', t => {
5050
'NVS_HOME': testDir,
5151
'NVS_LINK_TO_SYSTEM': '0',
5252
'NVS_DEBUG': '1',
53+
'PROCESSOR_ARCHITECTURE': process.env['PROCESSOR_ARCHITECTURE'],
54+
'PROCESSOR_ARCHITEW6432': process.env['PROCESSOR_ARCHITEW6432'],
5355
'ProgramFiles': process.env['ProgramFiles'],
5456
},
5557
cwd: nvsRootDir,

test/cli/zshTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const nvsRootDir = path.resolve(__dirname, '..', '..');
88
const testParentDir = path.resolve(__dirname, '..', 'temp');
99
const testDir = path.join(testParentDir, 'zsh');
1010

11-
const testNodeVersion = '8.5.0';
11+
const testNodeVersion = '24.19.0';
1212

1313
test.before(t => {
1414
require('../fsUtil').createDirectoryIfNotFound(testParentDir);

0 commit comments

Comments
 (0)