Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
clemiller committed Feb 3, 2024
1 parent bb5d3e6 commit 9426abd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
11 changes: 0 additions & 11 deletions nav-app/src/app/matrix/matrix-flat/matrix-flat.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any>();
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', () => {
Expand Down
11 changes: 0 additions & 11 deletions nav-app/src/app/matrix/matrix-mini/matrix-mini.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any>();
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', () => {
Expand Down
11 changes: 0 additions & 11 deletions nav-app/src/app/matrix/matrix-side/matrix-side.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any>();
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', () => {
Expand Down

0 comments on commit 9426abd

Please sign in to comment.