- Fix codemirror cursor issue. - Fix foreign table jasmine test cases.

This commit is contained in:
Aditya Toshniwal
2021-08-26 17:02:59 +05:30
committed by Akshay Joshi
parent c8026873b4
commit 2a76027cce
4 changed files with 13 additions and 8 deletions

View File

@@ -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,