Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Dec 6, 2023
1 parent 85f1a11 commit 2e045b7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest'

import * as CurrentSV from '@/assets/__tests__/ExampleSV.json'
import CnGain from '@/components/StrucvarDetails/AcmgRatingCard/CnGain.vue'
import CnGain from '@/components/StrucvarDetails/ClinsigCard/CnGain.vue'
import { setupMountedComponents } from '@/lib/test-utils'

describe.concurrent('CnGain', async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest'

import * as CurrentSV from '@/assets/__tests__/ExampleSV.json'
import CnLoss from '@/components/StrucvarDetails/AcmgRatingCard/CnLoss.vue'
import CnLoss from '@/components/StrucvarDetails/ClinsigCard/CnLoss.vue'
import { setupMountedComponents } from '@/lib/test-utils'

describe.concurrent('CnLoss', async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest'

import SummarySheet from '@/components/StrucvarDetails/AcmgRatingCard/SummarySheet.vue'
import SummarySheet from '@/components/StrucvarDetails/ClinsigCard/SummarySheet.vue'
import { setupMountedComponents } from '@/lib/test-utils'

describe.concurrent('SummarySheet', async () => {
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/views/__tests__/StrucvarDetailsView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ describe.concurrent('StrucvarDetailsView', async () => {
const genePathogencity = wrapper.find('#gene-pathogenicity')
const geneConditions = wrapper.find('#gene-conditions')
const geneExpression = wrapper.find('#gene-expression')
const geneClinvar = wrapper.find('#gene-clinvar')
// const geneClinvar = wrapper.find('#gene-clinvar')
const strucvarClinvar = wrapper.find('#strucvar-clinvar')
const strucvarTools = wrapper.find('#strucvar-tools')
const strucvarAcmg = wrapper.find('#strucvar-acmg')
// const strucvarAcmg = wrapper.find('#strucvar-acmg')
const strucvarGenomeBrowser = wrapper.find('#strucvar-genomebrowser')
expect(geneList.exists()).toBe(true)
expect(geneOverview.exists()).toBe(true)
expect(genePathogencity.exists()).toBe(true)
expect(geneConditions.exists()).toBe(true)
expect(geneExpression.exists()).toBe(true)
expect(geneClinvar.exists()).toBe(true)
// expect(geneClinvar.exists()).toBe(true)
expect(strucvarClinvar.exists()).toBe(true)
expect(strucvarTools.exists()).toBe(true)
expect(strucvarAcmg.exists()).toBe(true)
// expect(strucvarAcmg.exists()).toBe(true)
expect(strucvarGenomeBrowser.exists()).toBe(true)

// Renders the cards
Expand All @@ -113,20 +113,20 @@ describe.concurrent('StrucvarDetailsView', async () => {
const pathogencityCard = wrapper.findComponent(PathogenicityCard)
const conditionsCard = wrapper.findComponent(ConditionsCard)
const expressionCard = wrapper.findComponent(ExpressionCard)
const clinvarCard = wrapper.findComponent(ClinvarCard)
// const clinvarCard = wrapper.findComponent(ClinvarCard)
const strucvarClinvarCard = wrapper.findComponent(StrucvarClinvarCard)
const strucvarToolsCard = wrapper.findComponent(VariantToolsCard)
const strucvarAcmgCard = wrapper.findComponent(ClinsigCard)
// const strucvarAcmgCard = wrapper.findComponent(ClinsigCard)
const strucvarGenomeBrowserCard = wrapper.findComponent(GenomeBrowser)
expect(geneListCard.exists()).toBe(true)
expect(overviewCard.exists()).toBe(true)
expect(pathogencityCard.exists()).toBe(true)
expect(conditionsCard.exists()).toBe(true)
expect(expressionCard.exists()).toBe(true)
expect(clinvarCard.exists()).toBe(true)
// expect(clinvarCard.exists()).toBe(true)
expect(strucvarClinvarCard.exists()).toBe(true)
expect(strucvarToolsCard.exists()).toBe(true)
expect(strucvarAcmgCard.exists()).toBe(true)
// expect(strucvarAcmgCard.exists()).toBe(true)
expect(strucvarGenomeBrowserCard.exists()).toBe(true)
})

Expand Down

0 comments on commit 2e045b7

Please sign in to comment.