mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-28 13:21:42 +00:00
* Move add collection pane to React * Add feature flag * fix unit tests * FIx merge conflicts and address comments * Resolve merge conflicts * Address comments * Fix e2e test failure * Update test snapshots * Update test snapshots
16 lines
473 B
TypeScript
16 lines
473 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",
|
|
isExpandedByDefault: true,
|
|
};
|
|
|
|
const wrapper = shallow(<CollapsibleSectionComponent {...props} />);
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|