From 823499eb9f91e10038ad9fe8e2eca0b4aa521b4e Mon Sep 17 00:00:00 2001 From: Paolo Cozzi Date: Thu, 20 Jun 2024 16:57:15 +0200 Subject: [PATCH] :white_check_mark: fix variant details tests --- .../variants/variant-detail/variant-detail.component.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/variants/variant-detail/variant-detail.component.spec.ts b/src/app/variants/variant-detail/variant-detail.component.spec.ts index 6414b0e..cb5a5f1 100644 --- a/src/app/variants/variant-detail/variant-detail.component.spec.ts +++ b/src/app/variants/variant-detail/variant-detail.component.spec.ts @@ -21,7 +21,7 @@ const variant: Variant = { { "chrom": "15", "date": { - "$date": "2009-01-07T00:00:00Z" + "$date": new Date("2009-01-07T00:00:00Z") }, "illumina": "A/G", "illumina_strand": "TOP", @@ -47,7 +47,7 @@ const variant: Variant = { { "chrom": "15", "date": { - "$date": "2017-03-13T00:00:00Z" + "$date": new Date("2017-03-13T00:00:00Z") }, "illumina": "A/G", "illumina_strand": "TOP",