Fix Router tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-12-21 15:04:16 -05:00
1 parent 77e529f6b2
commit d8ab73d769
1 file changed
+1
+1
View File
@@ -93,6 +93,7 @@ describe("router", () => {
it("calls handler with the request", () => { it("calls handler with the request", () => {
expect(routeHandlerMock).toHaveBeenCalledWith({ expect(routeHandlerMock).toHaveBeenCalledWith({
cluster: clusterStub, cluster: clusterStub,
getHeader: expect.any(Function),
params: {}, params: {},
path: "/some-path", path: "/some-path",
payload: "some-payload", payload: "some-payload",