mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-23 10:14:55 +00:00
16 lines
404 B
TypeScript
16 lines
404 B
TypeScript
|
import { shallow } from "enzyme";
|
||
|
import React from "react";
|
||
|
import Explorer from "../Explorer";
|
||
|
import { AddCollectionPanel } from "./AddCollectionPanel";
|
||
|
|
||
|
const props = {
|
||
|
explorer: new Explorer(),
|
||
|
};
|
||
|
|
||
|
describe("AddCollectionPanel", () => {
|
||
|
it("should render Default properly", () => {
|
||
|
const wrapper = shallow(<AddCollectionPanel {...props} />);
|
||
|
expect(wrapper).toMatchSnapshot();
|
||
|
});
|
||
|
});
|