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 = { UpgradePlanModal.propTypes = {
onClose: PropTypes.func.isRequired, onClose: PropTypes.func.isRequired,
isOpen: PropTypes.bool.isRequired,
}; };
export default UpgradePlanModal; export default UpgradePlanModal;

View File

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