Revert "Perf/copilot cleanup and optimizations (#2447)"

This reverts commit fb250259ed.
This commit is contained in:
sunghyunkang1111
2026-04-08 11:47:14 -05:00
committed by GitHub
parent fb250259ed
commit db535d92a0
126 changed files with 22486 additions and 162 deletions

View File

@@ -0,0 +1,19 @@
import { shallow } from "enzyme";
import React from "react";
import { PromptCard } from "./PromptCard";
describe("Prompt card snapshot test", () => {
it("should render properly if isSelected is true", () => {
const wrapper = shallow(
<PromptCard header="TestHeader" description="TestDescription" isSelected={true} onSelect={() => undefined} />,
);
expect(wrapper).toMatchSnapshot();
});
it("should render properly if isSelected is false", () => {
const wrapper = shallow(
<PromptCard header="TestHeader" description="TestDescription" isSelected={false} onSelect={() => undefined} />,
);
expect(wrapper).toMatchSnapshot();
});
});