diff --git a/src/app/item-detail/analyze-charts/analyze-charts.component.spec.ts b/src/app/item-detail/analyze-charts/analyze-charts.component.spec.ts index e610ecbd..ffe8ef5b 100644 --- a/src/app/item-detail/analyze-charts/analyze-charts.component.spec.ts +++ b/src/app/item-detail/analyze-charts/analyze-charts.component.spec.ts @@ -33,7 +33,14 @@ describe("AnalyzeChartsComponent", () => { beforeEach(() => { fixture = TestBed.createComponent(AnalyzeChartsComponent); component = fixture.componentInstance; - component.chartLines = { labels: new Map([["test", [{ name: "test", data: [], suffix: " ms" }]]]), overall: new Map(), scatter: new Map() }; + component.chartLines = { + labels: new Map([["test", [{ name: "test", data: [], suffix: " ms" }]]]), + overall: new Map(), + scatter: new Map(), + threadsPerThreadGroup: new Map(), + monitoring: new Map(), + statusCodes: new Map(), + }; component.params = { projectName: "test-project", scenarioName: "test-scenario", id: "test-item" }; fixture.detectChanges(); }); diff --git a/src/app/item-detail/label-chart/label-chart.component.spec.ts b/src/app/item-detail/label-chart/label-chart.component.spec.ts index 766f7577..e88158f8 100644 --- a/src/app/item-detail/label-chart/label-chart.component.spec.ts +++ b/src/app/item-detail/label-chart/label-chart.component.spec.ts @@ -24,7 +24,10 @@ describe("LabelChartComponent", () => { component.chartLines = { labels: new Map([[Metrics.Network, [{ name: "name", suffix: "mbps", data: [] }] ]]), overall: new Map([[Metrics.Threads, { name: "virtual-users", data: [] }]]), - scatter: new Map([[Metrics.ResponseTimeRaw, [] ]]) + scatter: new Map([[Metrics.ResponseTimeRaw, [] ]]), + threadsPerThreadGroup: new Map([[Metrics.Threads, []]]), + monitoring: new Map([[Metrics.Monitoring, []]]), + statusCodes: new Map([[Metrics.StatusCodeInTime, { name: "name", data: [] }]]) }; fixture.detectChanges(); });