Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion node/mock-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export class MockTestRunner {
private async getNodePath(nodeVersion?: number): Promise<string> {
const version: number = nodeVersion || this.getNodeVersion();
const versions = {
24: 'v24.0.0',
20: 'v20.13.1',
16: 'v16.20.2',
10: 'v10.24.1',
Expand All @@ -174,7 +175,7 @@ export class MockTestRunner {

const downloadVersion: string = versions[version];
if (!downloadVersion) {
throw new Error('Invalid node version, must be 6, 10, 16 or 20 (received ' + version + ')');
throw new Error('Invalid node version, must be 6, 10, 16, 20 or 24 (received ' + version + ')');
}

// Install node in home directory if it isn't already there.
Expand Down
Loading