From ec9b33e334e1a408f7a877133e04db9db3051924 Mon Sep 17 00:00:00 2001 From: Xander Vertegaal Date: Fri, 4 Oct 2024 12:13:33 +0200 Subject: [PATCH] Fix failing tests --- .../src/app/aethel/sample-details/sample-data.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/aethel/sample-details/sample-data.component.spec.ts b/frontend/src/app/aethel/sample-details/sample-data.component.spec.ts index 1449392..9902daf 100644 --- a/frontend/src/app/aethel/sample-details/sample-data.component.spec.ts +++ b/frontend/src/app/aethel/sample-details/sample-data.component.spec.ts @@ -62,7 +62,7 @@ describe("SampleDataComponent", () => { expect(req.request.method).toBe("GET"); req.flush(mockResponse); - expect(component.samples).toEqual(mockResponse.results); + expect(component['samples']()).toEqual(mockResponse.results); expect(component.loading).toBeFalse(); });