Skip to content

Commit

Permalink
internal redirect expects result to be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
john-trieu-nguyen committed Oct 31, 2024
1 parent dab4f8a commit a6f5ccb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/tests-unit/tests/core/routing/matcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,7 @@ describe("handleRedirects", () => {
},
]);

expect(result.statusCode).toEqual(308);
expect(result.headers.Location).toEqual(
"/search?bar=hello+world&baz=new%2C+earth",
);
expect(result).toBeUndefined();
});
});

Expand Down

0 comments on commit a6f5ccb

Please sign in to comment.