Skip to content

Commit

Permalink
COMMERCE-6925 Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
alecsloan committed Jul 22, 2021
1 parent cebbe8f commit b5bd25d
Showing 1 changed file with 0 additions and 19 deletions.
Expand Up @@ -66,24 +66,5 @@ describe('AddToCart', () => {
expect(QuantitySelectorInputElement).toBeInTheDocument();
expect(AddToCartButtonElement).toBeInTheDocument();
});

xit('renders a Button alone if no quantity settings are provided', () => {
const props = {
...INITIAL_PROPS,
settings: {
withQuantity: false,
},
};

const {container} = render(<AddToCart {...props} />);

const QuantitySelectorSelectElement = container.querySelector(
'input'
);
const AddToCartButtonElement = container.querySelector('button');

expect(QuantitySelectorSelectElement).not.toBeInTheDocument();
expect(AddToCartButtonElement).toBeInTheDocument();
});
});
});

0 comments on commit b5bd25d

Please sign in to comment.