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

28 lines
706 B
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 BackupGlobalSchema, {getMiscellaneousSchema} from '../../../pgadmin/tools/backup/static/js/backupGlobal.ui';
import { getCreateView } from '../genericFunctions';
describe('BackupGlobalSchema', ()=>{
let backupGlobalSchemaObj = new BackupGlobalSchema(
()=> getMiscellaneousSchema(),
{
role: ()=>[],
}
);
it('create', async ()=>{
await getCreateView(backupGlobalSchemaObj);
});
});