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

28 lines
706 B
JavaScript
Raw Normal View History

/////////////////////////////////////////////////////////////
//
// pgAdmin 4 - PostgreSQL Tools
//
2023-01-02 00:23:55 -06:00
// Copyright (C) 2013 - 2023, 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);
});
});