We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc0d0b commit d4049ccCopy full SHA for d4049cc
1 file changed
express-zod-api/tests/routing.spec.ts
@@ -39,7 +39,7 @@ describe("Routing", () => {
39
cors: true,
40
startupLogo: false,
41
wrongMethodBehavior,
42
- methodLikeRouteBehavior: "route" as const,
+ methodLikeRouteBehavior: "path" as const,
43
};
44
const factory = new EndpointsFactory(defaultResultHandler);
45
const getEndpoint = factory.build({
@@ -59,7 +59,7 @@ describe("Routing", () => {
59
const routing: Routing = {
60
v1: {
61
user: {
62
- get: getEndpoint, // should be treated as a route (methodLikeRouteBehavior: "route")
+ get: getEndpoint, // should be treated as a path
63
set: postEndpoint,
64
universal: getAndPostEndpoint,
65
},
0 commit comments