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
/
layout
/
components
/
footer
/
footer.component.spec.ts
diff --git
a/portal-FE-common/src/app/layout/components/footer/footer.component.spec.ts
b/portal-FE-common/src/app/layout/components/footer/footer.component.spec.ts
index
b834022
..
6e80fce
100644
(file)
--- a/
portal-FE-common/src/app/layout/components/footer/footer.component.spec.ts
+++ b/
portal-FE-common/src/app/layout/components/footer/footer.component.spec.ts
@@
-36,6
+36,8
@@
*
*/
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
*
*/
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import {HttpClientTestingModule} from '@angular/common/http/testing';
+
import { FooterComponent } from './footer.component';
import { FooterComponent } from './footer.component';
@@
-45,7
+47,8
@@
describe('FooterComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ FooterComponent ]
+ declarations: [ FooterComponent],
+ imports: [HttpClientTestingModule]
})
.compileComponents();
}));
})
.compileComponents();
}));