pgadmin4/web/regression/javascript/grant_wizard/wizard_spec.js

37 lines
1.0 KiB
JavaScript
Raw Normal View History

/////////////////////////////////////////////////////////////
//
// pgAdmin 4 - PostgreSQL Tools
//
2024-01-01 02:43:48 -06:00
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
//////////////////////////////////////////////////////////////
import React from 'react';
import { render } from '@testing-library/react';
import '@testing-library/jest-dom';
import Theme from 'sources/Theme';
import Wizard from '../../../pgadmin/static/js/helpers/wizard/Wizard';
import WizardStep from '../../../pgadmin/static/js/helpers/wizard/WizardStep';
describe('Wizard', () => {
it('WizardPanel', () => {
render(
<Theme>
<Wizard
stepList={['Test']}
onStepChange={()=> {/*This is intentional (SonarQube)*/}}
onSave={()=>{/*This is intentional (SonarQube)*/}}
className={''}
disableNextStep={()=>{return false;}}
>
<WizardStep stepId={0} className={''}>
</WizardStep>
</Wizard>
</Theme>);
});
});