Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update baseUrl of pms_v2.0
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
services
/
ui
/
notification.service.spec.ts
diff --git
a/webapp-frontend/src/app/services/ui/notification.service.spec.ts
b/webapp-frontend/src/app/services/ui/notification.service.spec.ts
index
61110c9
..
b6953e6
100644
(file)
--- a/
webapp-frontend/src/app/services/ui/notification.service.spec.ts
+++ b/
webapp-frontend/src/app/services/ui/notification.service.spec.ts
@@
-21,9
+21,16
@@
import { TestBed } from '@angular/core/testing';
import { NotificationService } from './notification.service';
import { TestBed } from '@angular/core/testing';
import { NotificationService } from './notification.service';
+import { ToastrModule } from 'ngx-toastr';
describe('NotificationService', () => {
describe('NotificationService', () => {
- beforeEach(() => TestBed.configureTestingModule({}));
+ beforeEach(() => TestBed.configureTestingModule({
+ imports: [ToastrModule.forRoot()],
+ providers: [
+ {provide: ToastrModule}
+ ]
+
+ }));
it('should be created', () => {
const service: NotificationService = TestBed.get(NotificationService);
it('should be created', () => {
const service: NotificationService = TestBed.get(NotificationService);