mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
#814 fix MDL issues
- additional workarounds for Material Design Lite problems - validation fixes fixes #814
This commit is contained in:
@@ -39,9 +39,7 @@ describe('WidgetComponent', () => {
|
||||
|
||||
it('should setup MDL content only if component handler available', () => {
|
||||
let component = new WidgetComponent();
|
||||
expect(component.setupMaterialComponents()).toBeTruthy();
|
||||
|
||||
window['componentHandler'] = null;
|
||||
expect(component.setupMaterialComponents(componentHandler)).toBeTruthy();
|
||||
expect(component.setupMaterialComponents()).toBeFalsy();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user