mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-28 12:35:10 +01: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();
|
|
});
|
|
});
|