diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-01 16:26:34 +0530 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-08-02 23:24:45 +0000 |
commit | 994c1dbbb8bb8f640cc92effd9bc9ff19fbfcd27 (patch) | |
tree | ed02a59f8975770a7960c0c27bc3d48d58312033 /src/app | |
parent | 798604767dfe3d0ab3bb23707ad4b8c8bb4993bd (diff) |
Fixed error in test component spec file
Test cases in test component spec file failed with below error,
Eroor: No provider for NgxSpinnerModule.
Fixed this error
Issue-ID: APPC-1064
Change-Id: I89db4044b3fbc62cae4656e93a6b4519fb5cd0aa
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/test/test.component.spec.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/test/test.component.spec.ts b/src/app/test/test.component.spec.ts index 231795a..42e8be7 100644 --- a/src/app/test/test.component.spec.ts +++ b/src/app/test/test.component.spec.ts @@ -50,6 +50,7 @@ import { UtilityService } from '../shared/services/utilityService/utility.servic import { environment } from '../.././environments/environment'; import { NgProgress } from 'ngx-progressbar'; import { NgProgressModule } from 'ngx-progressbar'; +import { NgxSpinnerModule } from 'ngx-spinner'; describe( 'TestComponent', () => { let component: TestComponent; @@ -63,7 +64,8 @@ describe( 'TestComponent', () => { RouterTestingModule, SimpleNotificationsModule, HttpModule, - NgProgressModule + NgProgressModule, + NgxSpinnerModule ], providers: [ NotificationService, |