From 7b5f1314f8865cf18d4c410bfd2201add7a29779 Mon Sep 17 00:00:00 2001 From: gromdimon Date: Sat, 9 Dec 2023 11:55:15 +0100 Subject: [PATCH] tests --- .../components/SeqvarDetails/FreqsCard.vue | 2 +- .../FreqsCard/MitochondrialFreqs.vue | 4 +- .../ClinsigCard/CriterionSwitch.spec.ts | 41 +++++++++++++++++ .../ClinsigCard/SummarySheet.spec.ts | 20 +++++++++ .../FreqsCard/MitochondrialFreqs.spec.ts | 24 +++++----- frontend/src/lib/__tests__/utils.spec.ts | 45 +++++++++++++------ frontend/src/lib/utils.ts | 19 ++++---- 7 files changed, 118 insertions(+), 37 deletions(-) diff --git a/frontend/src/components/SeqvarDetails/FreqsCard.vue b/frontend/src/components/SeqvarDetails/FreqsCard.vue index b1603a10..a6b5521a 100644 --- a/frontend/src/components/SeqvarDetails/FreqsCard.vue +++ b/frontend/src/components/SeqvarDetails/FreqsCard.vue @@ -24,7 +24,7 @@ const props = defineProps<{ Population Frequencies diff --git a/frontend/src/components/SeqvarDetails/FreqsCard/MitochondrialFreqs.vue b/frontend/src/components/SeqvarDetails/FreqsCard/MitochondrialFreqs.vue index b9b322b7..2e630079 100644 --- a/frontend/src/components/SeqvarDetails/FreqsCard/MitochondrialFreqs.vue +++ b/frontend/src/components/SeqvarDetails/FreqsCard/MitochondrialFreqs.vue @@ -29,12 +29,12 @@ const gnomadMtDna = computed(() => {