mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
da443f88fd
commit
4b8ea266b8
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user