We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1e416 commit 5493251Copy full SHA for 5493251
2 files changed
apps/generator-cli/src/app/services/config.service.spec.ts
@@ -5,7 +5,8 @@ import { LOGGER, COMMANDER_PROGRAM } from '../constants';
5
6
jest.mock('fs-extra');
7
// eslint-disable-next-line @typescript-eslint/no-var-requires
8
-const fs = jest.mocked(require('fs-extra'));
+import fsExtra from 'fs-extra';
9
+const fs = jest.mocked(fsExtra);
10
11
describe('ConfigService', () => {
12
let fixture: ConfigService;
0 commit comments