We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35d5ec5 commit a8f5919Copy full SHA for a8f5919
1 file changed
packages/generator/src/generator.spec.ts
@@ -2,7 +2,7 @@
2
import { mockFsWithUnionfs } from '@sap-cloud-sdk/test-util-internal/fs-mocker';
3
mockFsWithUnionfs(jest);
4
import { join, resolve } from 'path';
5
-import { promises } from 'fs';
+import { readFile } from 'fs/promises';
6
import { jest } from '@jest/globals';
7
import { transports } from 'winston';
8
import { vol } from 'memfs';
@@ -27,8 +27,6 @@ import {
27
} from './generator';
28
import type { SourceFile } from 'ts-morph';
29
30
-const { readFile } = promises;
31
-
32
const pathTestResources = resolve(__dirname, '../../../test-resources');
33
const pathTestServiceDir = resolve(oDataServiceSpecs, 'v2', 'API_TEST_SRV');
34
const pathTestService = join(pathTestServiceDir, 'API_TEST_SRV.edmx');
0 commit comments