mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix deployment scale tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
97b2d8b1ae
commit
962ecddb3f
@ -32,8 +32,8 @@ describe("DeploymentApi", () => {
|
||||
});
|
||||
|
||||
describe("scale", () => {
|
||||
it("requests Kubernetes API with PATCH verb and correct amount of replicas", () => {
|
||||
void deploymentApi.scale({ namespace: "default", name: "deployment-1" }, 5);
|
||||
it("requests Kubernetes API with PATCH verb and correct amount of replicas", async () => {
|
||||
await deploymentApi.scale({ namespace: "default", name: "deployment-1" }, 5);
|
||||
|
||||
expect(kubeJsonApi.patch).toHaveBeenCalledWith("/apis/apps/v1/namespaces/default/deployments/deployment-1/scale", {
|
||||
data: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user