mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 17:38:10 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user