fix tests

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-08-09 08:44:16 +03:00
1 parent da443f88fd
commit 4b8ea266b8
3 files changed
+3 -3

No files matched your search

@@ -24,7 +24,7 @@ import { render, waitFor, fireEvent } from "@testing-library/react";
import "@testing-library/jest-dom/extend-expect";
import { DeploymentScaleDialog } from "./deployment-scale-dialog";
jest.mock("../../api/endpoints");
jest.mock("../../../common/k8s-api/endpoints");
import { Deployment, deploymentApi } from "../../../common/k8s-api/endpoints";
const dummyDeployment: Deployment = {
@@ -21,7 +21,7 @@
import "@testing-library/jest-dom/extend-expect";
jest.mock("../../api/endpoints");
jest.mock("../../../common/k8s-api/endpoints/replica-set.api");
import { ReplicaSetScaleDialog } from "./replicaset-scale-dialog";
import { render, waitFor, fireEvent } from "@testing-library/react";
import React from "react";
@@ -21,7 +21,7 @@
import "@testing-library/jest-dom/extend-expect";
jest.mock("../../api/endpoints");
jest.mock("../../../common/k8s-api/endpoints");
import { StatefulSet, statefulSetApi } from "../../../common/k8s-api/endpoints";
import { StatefulSetScaleDialog } from "./statefulset-scale-dialog";
import { render, waitFor, fireEvent } from "@testing-library/react";