mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 18:20:20 -06:00
37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
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 '@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>);
|
|
});
|
|
});
|
|
|