mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
- Fix Jasmine test cases failing in framework. - More stability fixes and enhancements.
This commit is contained in:
committed by
Akshay Joshi
parent
351cb3e6ca
commit
9274df0f11
@@ -264,7 +264,7 @@ describe('SchemaView', ()=>{
|
||||
ctrl.update();
|
||||
expect(ctrl.find('DefaultButton[data-test="Reset"]').prop('disabled')).toBeTrue();
|
||||
expect(ctrl.find('PrimaryButton[data-test="Save"]').prop('disabled')).toBeTrue();
|
||||
expect(onDataChange).toHaveBeenCalledWith(false);
|
||||
expect(onDataChange).toHaveBeenCalledWith(false, {});
|
||||
done();
|
||||
}, 0);
|
||||
});
|
||||
@@ -298,7 +298,7 @@ describe('SchemaView', ()=>{
|
||||
expect(confirmSpy).not.toHaveBeenCalled();
|
||||
expect(ctrl.find('DefaultButton[data-test="Reset"]').prop('disabled')).toBeTrue();
|
||||
expect(ctrl.find('PrimaryButton[data-test="Save"]').prop('disabled')).toBeTrue();
|
||||
expect(onDataChange).toHaveBeenCalledWith(false);
|
||||
expect(onDataChange).toHaveBeenCalledWith(false, {});
|
||||
done();
|
||||
}, 0);
|
||||
});
|
||||
@@ -411,7 +411,7 @@ describe('SchemaView', ()=>{
|
||||
ctrl.update();
|
||||
expect(ctrl.find('DefaultButton[data-test="Reset"]').prop('disabled')).toBeTrue();
|
||||
expect(ctrl.find('PrimaryButton[data-test="Save"]').prop('disabled')).toBeTrue();
|
||||
expect(onDataChange).toHaveBeenCalledWith(false);
|
||||
expect(onDataChange).toHaveBeenCalledWith(false, {});
|
||||
done();
|
||||
}, 0);
|
||||
}, 0);
|
||||
|
||||
Reference in New Issue
Block a user