Skip to content

Commit 47ff82b

Browse files
committed
Reducing diff for testing.
1 parent 048f6ef commit 47ff82b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

express-zod-api/src/testing.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import { Request, Response } from "express";
2-
import {
3-
createRequest,
4-
createResponse,
5-
RequestOptions,
6-
ResponseOptions,
7-
} from "node-mocks-http";
82
import { ensureError, FlatObject, getInput } from "./common-helpers";
93
import { CommonConfig } from "./config-type";
10-
import { contentTypes } from "./content-type";
114
import { AbstractEndpoint } from "./endpoint";
125
import {
136
AbstractLogger,
147
ActualLogger,
158
isSeverity,
169
Severity,
1710
} from "./logger-helpers";
11+
import { contentTypes } from "./content-type";
12+
import {
13+
createRequest,
14+
RequestOptions,
15+
createResponse,
16+
ResponseOptions,
17+
} from "node-mocks-http";
1818
import { AbstractMiddleware } from "./middleware";
1919

2020
export const makeRequestMock = <REQ extends RequestOptions>(props?: REQ) =>

0 commit comments

Comments
 (0)