fix tests

This commit is contained in:
Salman Muin Kayser Chishti 2025-10-14 14:28:51 +01:00
parent 81b484e462
commit 0b341692b6
3 changed files with 17 additions and 1 deletions

View file

@ -10,6 +10,10 @@ import * as assert from 'assert';
import * as path from 'path';
import os from 'os';
import fs from 'fs';
import {fileURLToPath} from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
import {NodeInputs, INodeVersion, INodeVersionInfo} from './base-models.js';

View file

@ -10,6 +10,10 @@ import {isCacheFeatureAvailable} from './cache-utils.js';
import {getNodejsDistribution} from './distributions/installer-factory.js';
import {getNodeVersionFromFile, printEnvDetailsAndSetOutput} from './util.js';
import {State} from './constants.js';
import {fileURLToPath} from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
export async function run() {
try {