Skip to content

Commit cdbba25

Browse files
committed
fixup: ci
1 parent c7c734d commit cdbba25

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/es-module/test-http-imports.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ import { path, readKey } from '../common/fixtures.mjs';
44
import { pathToFileURL } from 'url';
55
import assert from 'assert';
66
import http from 'http';
7-
import https from 'https';
87
import os from 'os';
98
import util from 'util';
109

11-
if (!common.hasCrypto)
10+
if (!common.hasCrypto) {
1211
common.skip('missing crypto');
12+
}
13+
14+
const https = (await import('https')).default;
1315

1416
const createHTTPServer = http.createServer;
1517

0 commit comments

Comments
 (0)