diff --git a/nav-app/src/app/matrix/matrix-flat/matrix-flat.component.spec.ts b/nav-app/src/app/matrix/matrix-flat/matrix-flat.component.spec.ts index 3e97f4d5b..c4416da8b 100644 --- a/nav-app/src/app/matrix/matrix-flat/matrix-flat.component.spec.ts +++ b/nav-app/src/app/matrix/matrix-flat/matrix-flat.component.spec.ts @@ -17,19 +17,8 @@ describe('MatrixFlatComponent', () => { })); beforeEach(() => { - let technique_list: Technique[] = []; fixture = TestBed.createComponent(MatrixFlatComponent); component = fixture.componentInstance; - component.viewModel = new ViewModel("layer","33","enterprise-attack-13",null); - let idToTacticSDO = new Map(); - idToTacticSDO.set("tactic-0", MockData.TA0000); - component.viewModel.showTacticRowBackground = true; - let t1 = new Technique(MockData.T0000,[],null); - technique_list.push(t1); - let tvm_1 = new TechniqueVM("T1595^reconnaissance"); - component.viewModel.setTechniqueVM(tvm_1); - component.matrix = new Matrix(MockData.matrixSDO, idToTacticSDO,technique_list,null); - fixture.detectChanges(); }); it('should create', () => { diff --git a/nav-app/src/app/matrix/matrix-mini/matrix-mini.component.spec.ts b/nav-app/src/app/matrix/matrix-mini/matrix-mini.component.spec.ts index 751624cad..6303f51c9 100644 --- a/nav-app/src/app/matrix/matrix-mini/matrix-mini.component.spec.ts +++ b/nav-app/src/app/matrix/matrix-mini/matrix-mini.component.spec.ts @@ -17,19 +17,8 @@ describe('MatrixMiniComponent', () => { })); beforeEach(() => { - let technique_list: Technique[] = []; fixture = TestBed.createComponent(MatrixMiniComponent); component = fixture.componentInstance; - component.viewModel = new ViewModel("layer","33","enterprise-attack-13",null); - let idToTacticSDO = new Map(); - idToTacticSDO.set("tactic-0", MockData.TA0000); - component.viewModel.showTacticRowBackground = true; - let t1 = new Technique(MockData.T0000,[],null); - technique_list.push(t1); - let tvm_1 = new TechniqueVM("T1595^reconnaissance"); - component.viewModel.setTechniqueVM(tvm_1); - component.matrix = new Matrix(MockData.matrixSDO, idToTacticSDO,technique_list,null); - fixture.detectChanges(); }); it('should create', () => { diff --git a/nav-app/src/app/matrix/matrix-side/matrix-side.component.spec.ts b/nav-app/src/app/matrix/matrix-side/matrix-side.component.spec.ts index c02c23ab0..a2d00f826 100644 --- a/nav-app/src/app/matrix/matrix-side/matrix-side.component.spec.ts +++ b/nav-app/src/app/matrix/matrix-side/matrix-side.component.spec.ts @@ -18,19 +18,8 @@ describe('MatrixSideComponent', () => { })); beforeEach(() => { - let technique_list: Technique[] = []; fixture = TestBed.createComponent(MatrixSideComponent); component = fixture.componentInstance; - component.viewModel = new ViewModel("layer","33","enterprise-attack-13",null); - let idToTacticSDO = new Map(); - idToTacticSDO.set("tactic-0", MockData.TA0000); - component.viewModel.showTacticRowBackground = true; - let t1 = new Technique(MockData.T0000, [], null); - technique_list.push(t1); - let tvm_1 = new TechniqueVM("T1595^reconnaissance"); - component.viewModel.setTechniqueVM(tvm_1); - component.matrix = new Matrix(MockData.matrixSDO, idToTacticSDO, technique_list,null); - fixture.detectChanges(); }); it('should create', () => {