require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
```ts
|
||||
import { Express as Express_2 } from 'express';
|
||||
import { Server } from 'http';
|
||||
import { Server } from 'node:http';
|
||||
|
||||
// @public
|
||||
export const wrapInOpenApiTestServer: (app: Express_2) => Server | Express_2;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import * as mockttp from 'mockttp';
|
||||
import { OpenApiProxyValidator } from '../schema/validation';
|
||||
import getPort from 'get-port';
|
||||
import { Server } from 'http';
|
||||
import { Server } from 'node:http';
|
||||
|
||||
export class Proxy {
|
||||
server: mockttp.Mockttp;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { Express } from 'express';
|
||||
import { Server } from 'http';
|
||||
import { Server } from 'node:http';
|
||||
import { Proxy } from './proxy/setup';
|
||||
|
||||
const proxiesToCleanup: Proxy[] = [];
|
||||
|
||||
Reference in New Issue
Block a user