test describe label && isOpen PropTypes

This commit is contained in:
ronronscelestes 2021-09-03 16:22:12 +02:00
parent 672822e070
commit f386ccaaa9
2 changed files with 2 additions and 1 deletions

View File

@ -121,6 +121,7 @@ const UpgradePlanModal = ({ onClose, isOpen }) => {
UpgradePlanModal.propTypes = {
onClose: PropTypes.func.isRequired,
isOpen: PropTypes.bool.isRequired,
};
export default UpgradePlanModal;

View File

@ -12,7 +12,7 @@ const App = (
</ThemeProvider>
);
describe('ConfirmDialog', () => {
describe('UpgradePlanModal', () => {
it('renders and matches the snapshot', async () => {
const {
container: { firstChild },