Skip to content
Merged
Changes from all commits
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
4 changes: 3 additions & 1 deletion apps/oxlint/test/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ async function testFixture(fixtureName: string, options?: TestOptions): Promise<
const args = options?.args ?? [];

await testFixtureWithCommand({
command: 'node',
// Use current NodeJS executable, rather than `node`, to avoid problems with a Node version manager
// installed on system resulting in using wrong NodeJS version
command: process.execPath,
args: [CLI_PATH, ...args, 'files'],
fixtureName,
snapshotName: options?.snapshotName ?? 'output',
Expand Down
Loading