mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Remove menu icon tests that are no longer required.
This commit is contained in:
parent
4b5b3195c4
commit
cca7526b9b
@ -26,10 +26,6 @@ define([
|
||||
expect(menuItem.$el.find('span').hasClass('font-gray-4')).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should change the icon to gray', function () {
|
||||
expect(menuItem.$el.find('i').hasClass('font-gray-4')).toBeTruthy();
|
||||
});
|
||||
|
||||
describe('when becomes enabled', function () {
|
||||
beforeEach(function () {
|
||||
menuItem.enable = true;
|
||||
@ -40,11 +36,6 @@ define([
|
||||
expect(menuItem.$el.find('span').hasClass('font-gray-4')).toBeFalsy();
|
||||
expect(menuItem.$el.find('span').hasClass('font-white')).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should change the icon color to white', function () {
|
||||
expect(menuItem.$el.find('i').hasClass('font-gray-4')).toBeFalsy();
|
||||
expect(menuItem.$el.find('i').hasClass('font-white')).toBeTruthy();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@ -58,10 +49,6 @@ define([
|
||||
expect(menuItem.$el.find('span').hasClass('font-white')).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should change the icon to white', function () {
|
||||
expect(menuItem.$el.find('i').hasClass('font-white')).toBeTruthy();
|
||||
});
|
||||
|
||||
describe('when becomes disabled', function () {
|
||||
beforeEach(function () {
|
||||
menuItem.enable = false;
|
||||
@ -72,11 +59,6 @@ define([
|
||||
expect(menuItem.$el.find('span').hasClass('font-gray-4')).toBeTruthy();
|
||||
expect(menuItem.$el.find('span').hasClass('font-white')).toBeFalsy();
|
||||
});
|
||||
|
||||
it('should change the icon color to gray', function () {
|
||||
expect(menuItem.$el.find('i').hasClass('font-gray-4')).toBeTruthy();
|
||||
expect(menuItem.$el.find('i').hasClass('font-white')).toBeFalsy();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user