mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-25 03:41:19 +00:00
12 lines
407 B
TypeScript
12 lines
407 B
TypeScript
import { shallow } from "enzyme";
|
|
import React from "react";
|
|
import Explorer from "../Explorer";
|
|
import { QueryCopilotCarousel } from "./CopilotCarousel";
|
|
|
|
describe("Query Copilot Carousel snapshot test", () => {
|
|
it("should render when isOpen is true", () => {
|
|
const wrapper = shallow(<QueryCopilotCarousel isOpen={true} explorer={new Explorer()} />);
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|