mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
clean unit tests core part 2 (#4897)
* promote use setupTestbed * fix context menu unit test * fix sidebar warning unit test * fix spy people widget * fix ISO warning date time widget * fix sidebar spy 404 url * minor karma fix import pdf.js map * restore md * revert extension change
This commit is contained in:
@@ -21,6 +21,7 @@ import { MaterialModule } from '../../../material.module';
|
||||
import { SidebarActionMenuComponent } from './sidebar-action-menu.component';
|
||||
import { setupTestBed } from '../../../testing/setupTestBed';
|
||||
import { CoreTestingModule } from '../../../testing/core.testing.module';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
describe('SidebarActionMenuComponent', () => {
|
||||
let element: HTMLElement;
|
||||
@@ -91,7 +92,8 @@ describe('Custom SidebarActionMenuComponent', () => {
|
||||
CustomSidebarActionMenuComponent
|
||||
],
|
||||
imports: [
|
||||
MaterialModule
|
||||
MaterialModule,
|
||||
NoopAnimationsModule
|
||||
]
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user