mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
37 lines
1007 B
JavaScript
37 lines
1007 B
JavaScript
/////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// 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 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>);
|
|
});
|
|
});
|
|
|