mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00: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 "@testing-library/jest-dom/extend-expect";
|
||||||
|
|
||||||
import { DeploymentScaleDialog } from "./deployment-scale-dialog";
|
import { DeploymentScaleDialog } from "./deployment-scale-dialog";
|
||||||
jest.mock("../../api/endpoints");
|
jest.mock("../../../common/k8s-api/endpoints");
|
||||||
import { Deployment, deploymentApi } from "../../../common/k8s-api/endpoints";
|
import { Deployment, deploymentApi } from "../../../common/k8s-api/endpoints";
|
||||||
|
|
||||||
const dummyDeployment: Deployment = {
|
const dummyDeployment: Deployment = {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
import "@testing-library/jest-dom/extend-expect";
|
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 { ReplicaSetScaleDialog } from "./replicaset-scale-dialog";
|
||||||
import { render, waitFor, fireEvent } from "@testing-library/react";
|
import { render, waitFor, fireEvent } from "@testing-library/react";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
import "@testing-library/jest-dom/extend-expect";
|
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 { StatefulSet, statefulSetApi } from "../../../common/k8s-api/endpoints";
|
||||||
import { StatefulSetScaleDialog } from "./statefulset-scale-dialog";
|
import { StatefulSetScaleDialog } from "./statefulset-scale-dialog";
|
||||||
import { render, waitFor, fireEvent } from "@testing-library/react";
|
import { render, waitFor, fireEvent } from "@testing-library/react";
|
||||||
|
|||||||
Reference in new issue
Block a user