mirror of
https://github.com/strapi/strapi.git
synced 2025-11-28 08:03:14 +00:00
test describe label && isOpen PropTypes
This commit is contained in:
parent
672822e070
commit
f386ccaaa9
@ -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;
|
||||||
|
|||||||
@ -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 },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user