1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix Router tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-02 10:30:03 -05:00
parent 77e529f6b2
commit d8ab73d769

View File

@ -93,6 +93,7 @@ describe("router", () => {
it("calls handler with the request", () => {
expect(routeHandlerMock).toHaveBeenCalledWith({
cluster: clusterStub,
getHeader: expect.any(Function),
params: {},
path: "/some-path",
payload: "some-payload",