Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny
2025-09-19 13:05:51 -07:00
committed by GitHub
parent 140241b83f
commit 40eaf078cc
401 changed files with 1278 additions and 593 deletions

View File

@@ -4,7 +4,7 @@
import * as path from 'node:path';
import { tmpdir } from 'node:os';
import { chmodSync, rmSync, writeFileSync, mkdtempSync } from 'node:fs';
import { pathExists, readJsonSync } from 'fs-extra';
import fsExtra from 'fs-extra';
import { v4 as generateGuid } from 'uuid';
import { assert } from 'chai';
@@ -12,6 +12,8 @@ import { assert } from 'chai';
import type { ConfigType } from '../../../app/base_config.js';
import { start } from '../../../app/base_config.js';
const { pathExists, readJsonSync } = fsExtra;
describe('base_config', () => {
let targetDir: string;
let targetPath: string;