Code Review
/
appc
/
cdt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
34e10fd
)
Aboutus component spec- error fix
80/95480/2
author
Arundathi Patil
<arundpil@in.ibm.com>
Wed, 11 Sep 2019 10:38:08 +0000
(16:08 +0530)
committer
Takamune Cho
<takamune.cho@att.com>
Thu, 12 Sep 2019 01:25:03 +0000
(
01:25
+0000)
Fixed the test case which was failing with following error- data.text is
not a function
Issue-ID: APPC-1632
Change-Id: Ic13f170d44c20b1d5e57cf52e3d17c93e6add989
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/app/about-us/aboutus.component.spec.ts
patch
|
blob
|
history
diff --git
a/src/app/about-us/aboutus.component.spec.ts
b/src/app/about-us/aboutus.component.spec.ts
index
5656942
..
5a9e6ef
100644
(file)
--- a/
src/app/about-us/aboutus.component.spec.ts
+++ b/
src/app/about-us/aboutus.component.spec.ts
@@
-89,7
+89,7
@@
fdescribe('ContacUsComponent', () => {
it('should open modal', inject([NgbModule, Http], (ngbModule: NgbModule, http: Http) => {
let content = 'test';
component.versionLogFile();
- expect(component.data
.text()
).toBe('some data');
+ expect(component.data).toBe('some data');
}));
it('should download log file', () => {