`;
+exports[`MultiSelect can remove selected items 1`] = `
+
+
+
+`;
+
exports[`MultiSelect custom itemRenderer 1`] = `
{
test("passes disabled if maxSelectedItem has passed", () => {
const renderer = new ShallowRenderer();
- const tree = renderer.render();
+ const tree = renderer.render(
+
+ );
expect(tree).toMatchSnapshot();
});
test("does not pass disabled if maxSelectedItem has passed", () => {
const renderer = new ShallowRenderer();
- const tree = renderer.render();
+ const tree = renderer.render(
+
+ );
expect(tree).toMatchSnapshot();
});
@@ -148,4 +152,10 @@ describe("MultiSelect", () => {
);
expect(tree).toMatchSnapshot();
});
+
+ test("can remove selected items", () => {
+ const renderer = new ShallowRenderer();
+ const tree = renderer.render();
+ expect(tree).toMatchSnapshot();
+ });
});