From 8ad0981c38bb3baf8ca40cd81e9a3a0886bd078e Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Tue, 4 Jun 2024 13:49:29 +0200 Subject: [PATCH] fix: do not show skeleton loader if clinvar info is missing (#208) --- .../SeqvarClinvarCard.spec.ts | 2 +- .../SeqvarClinvarCard/SeqvarClinvarCard.vue | 205 +++++++++--------- 2 files changed, 102 insertions(+), 105 deletions(-) diff --git a/src/components/SeqvarClinvarCard/SeqvarClinvarCard.spec.ts b/src/components/SeqvarClinvarCard/SeqvarClinvarCard.spec.ts index 901150c..05afe8f 100644 --- a/src/components/SeqvarClinvarCard/SeqvarClinvarCard.spec.ts +++ b/src/components/SeqvarClinvarCard/SeqvarClinvarCard.spec.ts @@ -52,6 +52,6 @@ describe.concurrent('SeqvarClinvarCard.vue', async () => { // act: nothing, only test rendering // assert: - expect(wrapper.text()).toContain('No ClinVar information available.') + expect(wrapper.text()).toContain('Variant not present in local ClinVar copy.') }) }) diff --git a/src/components/SeqvarClinvarCard/SeqvarClinvarCard.vue b/src/components/SeqvarClinvarCard/SeqvarClinvarCard.vue index 3be8238..701c37d 100644 --- a/src/components/SeqvarClinvarCard/SeqvarClinvarCard.vue +++ b/src/components/SeqvarClinvarCard/SeqvarClinvarCard.vue @@ -32,119 +32,116 @@ const expand = ref(false)