mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-09 23:54:09 -06:00
1) Fixed jasmine test cases.
2) Bootstarp4 toggle size should be mini for triggers
This commit is contained in:
parent
605b1f4799
commit
d2ee5c4e82
@ -25,6 +25,7 @@ define('pgadmin.node.trigger', [
|
||||
offText: gettext('No'),
|
||||
onColor: 'success',
|
||||
offColor: 'primary',
|
||||
size: 'mini',
|
||||
width: null,
|
||||
height: null,
|
||||
},
|
||||
|
@ -15,8 +15,8 @@ describe('getEpoch', function () {
|
||||
});
|
||||
|
||||
it('should return epoch for a date passed', function () {
|
||||
let someDate = new Date(2019,1,1,10,20,30,40),
|
||||
someDateEpoch = 1548996630;
|
||||
let someDate = new Date('Feb 01 2019 10:20:30 GMT0000'),
|
||||
someDateEpoch = 1549016430;
|
||||
|
||||
expect(getEpoch(new Date(someDate))).toEqual(someDateEpoch);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user