Fixed Jasmine test cases.

This commit is contained in:
Aditya Toshniwal
2021-09-29 16:36:49 +05:30
committed by Akshay Joshi
parent 28892bb07f
commit c57fc74e18
2 changed files with 11 additions and 2 deletions

View File

@@ -171,6 +171,7 @@ describe('TableSchema', ()=>{
deferredPromise.then((depChange)=>{
expect(depChange()).toEqual({
columns: oftypeColumns,
primary_key: [],
});
expect(schemaObj.changeColumnOptions).toHaveBeenCalledWith(oftypeColumns);
done();
@@ -206,6 +207,7 @@ describe('TableSchema', ()=>{
deferredPromise.then((depChange)=>{
expect(depChange()).toEqual({
columns: oftypeColumns,
primary_key: [],
});
expect(schemaObj.changeColumnOptions).toHaveBeenCalledWith(oftypeColumns);
done();