mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
Add support of DEPENDS/NO DEPENDS ON EXTENSION for INDEX. #6388
This commit is contained in:
@@ -202,6 +202,13 @@ describe('IndexSchema', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('dependsonextensions field exists', ()=>{
|
||||
let field = _.find(indexSchemaObj.fields, (f)=>f.id=='dependsonextensions');
|
||||
expect(field).toBeTruthy();
|
||||
expect(field.type).toBe('select');
|
||||
expect(field.controlProps.multiple).toBe(true);
|
||||
});
|
||||
|
||||
it('columns formatter', () => {
|
||||
let formatter = _.find(indexSchemaObj.fields, (f) => f.id=='columns').cell().controlProps.formatter;
|
||||
expect(formatter.fromRaw([{
|
||||
|
||||
Reference in New Issue
Block a user