Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit 908c211

Browse files
committed
test(operators): fix missing provider on failing test
1 parent ef051de commit 908c211

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/operators/specs/operators.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
groupOperatorsByType
1111
} from '../operators.component';
1212
import { OperatorDoc } from '../../../operator-docs';
13+
import { OperatorMenuService } from '../../core/services/operator-menu.service';
1314

1415
const mockActivatedRoute = {
1516
snapshot: {},
@@ -41,6 +42,7 @@ describe('Operators', () => {
4142
imports: [RouterTestingModule, LayoutModule],
4243
declarations: [OperatorsComponent],
4344
providers: [
45+
OperatorMenuService,
4446
{ provide: OPERATORS_TOKEN, useValue: mockOperators },
4547
{ provide: ActivatedRoute, useValue: mockActivatedRoute }
4648
],

0 commit comments

Comments
 (0)