Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed the test cases,added sonar config
[portal.git]
/
portal-FE-common
/
src
/
app
/
pages
/
notification-history
/
notification-history.component.spec.ts
diff --git
a/portal-FE-common/src/app/pages/notification-history/notification-history.component.spec.ts
b/portal-FE-common/src/app/pages/notification-history/notification-history.component.spec.ts
index
6896359
..
68da263
100644
(file)
--- a/
portal-FE-common/src/app/pages/notification-history/notification-history.component.spec.ts
+++ b/
portal-FE-common/src/app/pages/notification-history/notification-history.component.spec.ts
@@
-39,6
+39,9
@@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NotificationHistoryComponent } from './notification-history.component';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { NotificationHistoryComponent } from './notification-history.component';
+import { NgMaterialModule } from 'src/app/ng-material-module';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
describe('NotificationHistoryComponent', () => {
let component: NotificationHistoryComponent;
describe('NotificationHistoryComponent', () => {
let component: NotificationHistoryComponent;
@@
-46,7
+49,8
@@
describe('NotificationHistoryComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ NotificationHistoryComponent ]
+ declarations: [ NotificationHistoryComponent ],
+ imports:[NgMaterialModule,HttpClientTestingModule,BrowserAnimationsModule]
})
.compileComponents();
}));
})
.compileComponents();
}));