We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c342cc2 commit 671b1eeCopy full SHA for 671b1ee
packages/@aws-cdk/toolkit-lib/test/util/network-detector.test.ts
@@ -1,9 +1,9 @@
1
-import * as https from 'https';
+import * as https from 'node:https';
2
import * as fs from 'fs-extra';
3
import { NetworkDetector } from '../../lib/util/network-detector';
4
5
// Mock the https module
6
-jest.mock('https');
+jest.mock('node:https');
7
const mockHttps = https as jest.Mocked<typeof https>;
8
9
// Mock fs-extra
0 commit comments