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:
parent
cc2f8fe756
commit
735ef219f1
@ -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",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user