Skip to content
Snippets Groups Projects
Commit e2420c56 authored by Yana De Pauw's avatar Yana De Pauw
Browse files

Fix item opertation test issue

parent a698b56a
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@ import {ItemOperationComponent} from './item-operation.component';
import {TranslateModule} from '@ngx-translate/core';
import {By} from '@angular/platform-browser';
const itemOperation: ItemOperation = new ItemOperation('key1', 'url1');
let fixture;
let comp;
describe('ItemOperationComponent', () => {
let itemOperation: ItemOperation;
let fixture;
let comp;
beforeEach(async(() => {
TestBed.configureTestingModule({
......@@ -19,6 +19,8 @@ describe('ItemOperationComponent', () => {
beforeEach(() => {
itemOperation = new ItemOperation('key1', 'url1');
fixture = TestBed.createComponent(ItemOperationComponent);
comp = fixture.componentInstance;
comp.operation = itemOperation;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment