mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
- Fix codemirror cursor issue. - Fix foreign table jasmine test cases.
This commit is contained in:
committed by
Akshay Joshi
parent
c8026873b4
commit
2a76027cce
@@ -176,13 +176,14 @@ describe('ForeignTableSchema', ()=>{
|
||||
|
||||
it('add first selection', (done)=>{
|
||||
let state = {columns: [], inherits: ['table1']};
|
||||
let newCol = schemaObj.columnsObj.getNewData(inheritCol);
|
||||
let deferredPromise = deferredDepChange(state, null, null, {
|
||||
oldState: {
|
||||
inherits: [],
|
||||
},
|
||||
});
|
||||
deferredPromise.then((depChange)=>{
|
||||
let finalCols = [{name: 'id'}];
|
||||
let finalCols = [newCol];
|
||||
expect(depChange(state)).toEqual({
|
||||
adding_inherit_cols: false,
|
||||
columns: finalCols,
|
||||
|
||||
Reference in New Issue
Block a user