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

Fix lint.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti 2021-12-02 14:24:33 +02:00
parent cc2f8fe756
commit 735ef219f1

View File

@ -248,15 +248,15 @@ describe("KubeApi", () => {
(fetch as any).mockResponse(async (request: Request) => {
expect(request.method).toEqual("PATCH");
expect(request.headers.get("content-type")).toMatch("merge-patch");
expect(request.body.toString()).toEqual(JSON.stringify({ metadata: { annotations: { provisioned: "true" } }}));
expect(request.body.toString()).toEqual(JSON.stringify({ metadata: { annotations: { provisioned: "true" }}}));
return {};
});
await api.patch(
{ name: "test", namespace: "default" },
{ metadata: { annotations: { provisioned: "true" } } },
"merge"
{ metadata: { annotations: { provisioned: "true" }}},
"merge",
);
});
});