Skip to content

Commit a6f5ccb

Browse files
internal redirect expects result to be undefined
1 parent dab4f8a commit a6f5ccb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/tests-unit/tests/core/routing/matcher.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,7 @@ describe("handleRedirects", () => {
281281
},
282282
]);
283283

284-
expect(result.statusCode).toEqual(308);
285-
expect(result.headers.Location).toEqual(
286-
"/search?bar=hello+world&baz=new%2C+earth",
287-
);
284+
expect(result).toBeUndefined();
288285
});
289286
});
290287

0 commit comments

Comments
 (0)