feature/freelens-parity-complete #87
@ -13,13 +13,13 @@ vi.mock("@/components/Kubernetes/LogStreamPanel", () => ({
|
||||
<div data-testid="logs-modal" data-namespace={namespace} />
|
||||
),
|
||||
}));
|
||||
vi.mock("@/components/Kubernetes/ShellExecModal", () => ({
|
||||
ShellExecModal: ({ namespace }: { namespace: string }) => (
|
||||
vi.mock("@/components/Kubernetes/InteractiveShellModal", () => ({
|
||||
InteractiveShellModal: ({ namespace }: { namespace: string }) => (
|
||||
<div data-testid="shell-modal" data-namespace={namespace} />
|
||||
),
|
||||
}));
|
||||
vi.mock("@/components/Kubernetes/AttachModal", () => ({
|
||||
AttachModal: ({ namespace }: { namespace: string }) => (
|
||||
vi.mock("@/components/Kubernetes/InteractiveAttachModal", () => ({
|
||||
InteractiveAttachModal: ({ namespace }: { namespace: string }) => (
|
||||
<div data-testid="attach-modal" data-namespace={namespace} />
|
||||
),
|
||||
}));
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
* 4. YAML editor loading race condition
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import { describe, it, expect, vi, beforeEach } from "vitest";
|
||||
import { render, screen, fireEvent, waitFor } from "@testing-library/react";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
@ -219,7 +218,6 @@ describe("Dark mode – text visibility", () => {
|
||||
const root = document.documentElement;
|
||||
root.classList.add("dark");
|
||||
|
||||
const computedStyle = window.getComputedStyle(root);
|
||||
expect(root.classList.contains("dark")).toBe(true);
|
||||
|
||||
root.classList.remove("dark");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user