mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-27 20:18:42 +00:00
* Rename index.tsx to {class name}.tsx * Update tests Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
import { shallow } from "enzyme";
|
|
import React from "react";
|
|
import Explorer from "../../Explorer";
|
|
import { UploadItemsPane } from "./UploadItemsPane";
|
|
const props = {
|
|
explorer: new Explorer(),
|
|
closePanel: (): void => undefined,
|
|
};
|
|
describe("Upload Items Pane", () => {
|
|
it("should render Default properly", () => {
|
|
const wrapper = shallow(<UploadItemsPane {...props} />);
|
|
expect(wrapper).toMatchSnapshot();
|
|
});
|
|
});
|