mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +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 = {
|
||||
onClose: PropTypes.func.isRequired,
|
||||
isOpen: PropTypes.bool.isRequired,
|
||||
};
|
||||
|
||||
export default UpgradePlanModal;
|
||||
|
||||
@ -12,7 +12,7 @@ const App = (
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
describe('ConfirmDialog', () => {
|
||||
describe('UpgradePlanModal', () => {
|
||||
it('renders and matches the snapshot', async () => {
|
||||
const {
|
||||
container: { firstChild },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user