mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-22 09:45:05 +00:00
18 lines
490 B
TypeScript
18 lines
490 B
TypeScript
import { shallow } from "enzyme";
|
|
import React from "react";
|
|
import Explorer from "../../Explorer";
|
|
import { AddDatabasePanel } from "./AddDatabasePanel";
|
|
|
|
const props = {
|
|
explorer: new Explorer(),
|
|
closePanel: (): void => undefined,
|
|
openNotificationConsole: (): void => undefined,
|
|
};
|
|
|
|
describe("AddDatabasePane Pane", () => {
|
|
it("should render Default properly", () => {
|
|
const wrapper = shallow(<AddDatabasePanel {...props} />);
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|