mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-07 19:46:53 +00:00
15 lines
440 B
TypeScript
15 lines
440 B
TypeScript
import { shallow } from "enzyme";
|
|
import React from "react";
|
|
import { CollapsibleSectionComponent, CollapsibleSectionProps } from "./CollapsibleSectionComponent";
|
|
|
|
describe("CollapsibleSectionComponent", () => {
|
|
it("renders", () => {
|
|
const props: CollapsibleSectionProps = {
|
|
title: "Sample title",
|
|
};
|
|
|
|
const wrapper = shallow(<CollapsibleSectionComponent {...props} />);
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|