mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-31 06:58:49 +01:00
18 lines
475 B
TypeScript
18 lines
475 B
TypeScript
import { shallow } from "enzyme";
|
|
import React from "react";
|
|
import Explorer from "../../Explorer";
|
|
import { LoadQueryPanel } from "./index";
|
|
|
|
describe("Load Query Pane", () => {
|
|
it("should render Default properly", () => {
|
|
const fakeExplorer = {} as Explorer;
|
|
const props = {
|
|
explorer: fakeExplorer,
|
|
closePanel: (): void => undefined,
|
|
};
|
|
|
|
const wrapper = shallow(<LoadQueryPanel {...props} />);
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|