mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed jasmin test cases failed due to last commit.
This commit is contained in:
committed by
Akshay Joshi
parent
341c3aded6
commit
3d5a2046c4
@@ -24,7 +24,7 @@ describe('alertify_wrapper', function () {
|
|||||||
|
|
||||||
expect(spyObj).toHaveBeenCalled();
|
expect(spyObj).toHaveBeenCalled();
|
||||||
expect(spyObj.calls.mostRecent().args[0]).toContain('Yay, congrats!');
|
expect(spyObj.calls.mostRecent().args[0]).toContain('Yay, congrats!');
|
||||||
expect(spyObj.calls.mostRecent().args[0]).toContain('class="fa fa-check text-success"');
|
expect(spyObj.calls.mostRecent().args[0]).toContain('class="fa fa-check"');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ describe('alertify_wrapper', function () {
|
|||||||
|
|
||||||
expect(spyOrigError).toHaveBeenCalled();
|
expect(spyOrigError).toHaveBeenCalled();
|
||||||
expect(spyOrigError.calls.mostRecent().args[0]).toContain('bad, very bad');
|
expect(spyOrigError.calls.mostRecent().args[0]).toContain('bad, very bad');
|
||||||
expect(spyOrigError.calls.mostRecent().args[0]).toContain('class="fa fa-exclamation-triangle text-danger"');
|
expect(spyOrigError.calls.mostRecent().args[0]).toContain('class="fa fa-exclamation-triangle"');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user