require the use of node prefix on native imports

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-01-25 13:47:32 +01:00
parent 4ad63b8d9f
commit 7455dae884
444 changed files with 749 additions and 634 deletions
@@ -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[] = [];