pgadmin4/web/regression/javascript/schema_ui_files/maintenance.ui.spec.js

32 lines
744 B
JavaScript
Raw Permalink 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 MaintenanceSchema, {getVacuumSchema} from '../../../pgadmin/tools/maintenance/static/js/maintenance.ui';
import {getCreateView} from '../genericFunctions';
describe('MaintenanceSchema', ()=>{
let backupSchemaObj = new MaintenanceSchema(
()=> getVacuumSchema(),
{
nodeInfo: {schema: {label: 'public'}, server: {version: 90400}}
}
);
it('start maintenance', async ()=>{
await getCreateView(backupSchemaObj);
});
});