diff --git a/frontend/src/api/__tests__/annonars.spec.ts b/frontend/src/api/__tests__/annonars.spec.ts index 1f3a359d..04a83190 100644 --- a/frontend/src/api/__tests__/annonars.spec.ts +++ b/frontend/src/api/__tests__/annonars.spec.ts @@ -8,7 +8,7 @@ import * as EMPSearchInfo from '@/assets/__tests__/EMPSearchInfo.json' const fetchMocker = createFetchMock(vi) -describe('Annonars Client', () => { +describe.concurrent('Annonars Client', () => { beforeEach(() => { fetchMocker.enableMocks() fetchMocker.resetMocks() diff --git a/frontend/src/api/__tests__/common.spec.ts b/frontend/src/api/__tests__/common.spec.ts index 28d1df10..3f648c58 100644 --- a/frontend/src/api/__tests__/common.spec.ts +++ b/frontend/src/api/__tests__/common.spec.ts @@ -2,7 +2,7 @@ import { describe, it, expect } from 'vitest' import { API_BASE_PREFIX, API_BASE_PREFIX_ANNONARS, API_BASE_PREFIX_MEHARI } from '../common' -describe('API_BASE_PREFIX constants', () => { +describe.concurrent('API_BASE_PREFIX constants', () => { it('returns the correct API base prefix in production mode', () => { const originalMode = import.meta.env.MODE expect(API_BASE_PREFIX).toBe('/') diff --git a/frontend/src/api/__tests__/mehari.spec.ts b/frontend/src/api/__tests__/mehari.spec.ts index 6254ecf9..4a036b30 100644 --- a/frontend/src/api/__tests__/mehari.spec.ts +++ b/frontend/src/api/__tests__/mehari.spec.ts @@ -6,7 +6,7 @@ import * as BRCA1TxInfo from '@/assets/__tests__/BRCA1TxInfo.json' const fetchMocker = createFetchMock(vi) -describe('Mehari Client', () => { +describe.concurrent('Mehari Client', () => { beforeEach(() => { fetchMocker.enableMocks() fetchMocker.resetMocks() diff --git a/frontend/src/api/__tests__/misc.spec.ts b/frontend/src/api/__tests__/misc.spec.ts index 491d2bad..2a9f84c6 100644 --- a/frontend/src/api/__tests__/misc.spec.ts +++ b/frontend/src/api/__tests__/misc.spec.ts @@ -5,7 +5,7 @@ import { MiscClient } from '../misc' const fetchMocker = createFetchMock(vi) -describe('Misc Client', () => { +describe.concurrent('Misc Client', () => { beforeEach(() => { fetchMocker.enableMocks() fetchMocker.resetMocks() diff --git a/frontend/src/api/__tests__/utils.spec.ts b/frontend/src/api/__tests__/utils.spec.ts index 2aa6e205..c0df52ca 100644 --- a/frontend/src/api/__tests__/utils.spec.ts +++ b/frontend/src/api/__tests__/utils.spec.ts @@ -9,7 +9,7 @@ import { infoFromQuery } from '../utils' -describe('roundIt method', () => { +describe.concurrent('roundIt method', () => { it('should round a positive value with default digits', () => { const result = roundIt(3.14159) expect(result).toBe('3.14') diff --git a/frontend/src/components/__tests__/BeaconNetwork.spec.ts b/frontend/src/components/__tests__/BeaconNetwork.spec.ts index 2a795eb7..d62d6558 100644 --- a/frontend/src/components/__tests__/BeaconNetwork.spec.ts +++ b/frontend/src/components/__tests__/BeaconNetwork.spec.ts @@ -47,7 +47,7 @@ const makeWrapper = () => { }) } -describe('BeaconNetwork', async () => { +describe.concurrent('BeaconNetwork', async () => { it('renders the BeaconNetwork info', async () => { const wrapper = makeWrapper() expect(wrapper.text()).toContain('Query Beacon -----|>') diff --git a/frontend/src/components/__tests__/ClinVar.spec.ts b/frontend/src/components/__tests__/ClinVar.spec.ts index 7f365d96..06d7515f 100644 --- a/frontend/src/components/__tests__/ClinVar.spec.ts +++ b/frontend/src/components/__tests__/ClinVar.spec.ts @@ -47,7 +47,7 @@ const makeWrapper = (cvInfo: Object) => { }) } -describe('ClinVar', async () => { +describe.concurrent('ClinVar', async () => { it('renders the ClinVar info', async () => { const wrapper = makeWrapper(clinVarInfo) expect(wrapper.text()).toContain('Note that REEV is using a local copy of Clinvar') diff --git a/frontend/src/components/__tests__/FooterDefault.spec.ts b/frontend/src/components/__tests__/FooterDefault.spec.ts index 21b379fc..32f2ffdf 100644 --- a/frontend/src/components/__tests__/FooterDefault.spec.ts +++ b/frontend/src/components/__tests__/FooterDefault.spec.ts @@ -49,7 +49,7 @@ const makeWrapper = () => { ) } -describe('FooterDefault.vue', () => { +describe.concurrent('FooterDefault.vue', () => { it('renders information', () => { const wrapper = makeWrapper() const footer = wrapper.find('footer') diff --git a/frontend/src/components/__tests__/FreqsAutosomal.spec.ts b/frontend/src/components/__tests__/FreqsAutosomal.spec.ts index 899e2406..39126ba7 100644 --- a/frontend/src/components/__tests__/FreqsAutosomal.spec.ts +++ b/frontend/src/components/__tests__/FreqsAutosomal.spec.ts @@ -50,7 +50,7 @@ const makeWrapper = (variantData: Object) => { }) } -describe('FreqsAutosomal', async () => { +describe.concurrent('FreqsAutosomal', async () => { it('renders the FreqsAutosomal info', async () => { const wrapper = makeWrapper(BRCA1VariantInfo['result']) expect(wrapper.text()).toContain('gnomAD Genomes') diff --git a/frontend/src/components/__tests__/FreqsMitochondrial.spec.ts b/frontend/src/components/__tests__/FreqsMitochondrial.spec.ts index c1b96843..e66f98b1 100644 --- a/frontend/src/components/__tests__/FreqsMitochondrial.spec.ts +++ b/frontend/src/components/__tests__/FreqsMitochondrial.spec.ts @@ -67,7 +67,7 @@ const makeWrapper = () => { }) } -describe('FreqsMitochondrial', async () => { +describe.concurrent('FreqsMitochondrial', async () => { it('renders the FreqsMitochondrial info', async () => { const wrapper = makeWrapper() expect(wrapper.html()).toContain('HelixMTdb') diff --git a/frontend/src/components/__tests__/HeaderDefault.spec.ts b/frontend/src/components/__tests__/HeaderDefault.spec.ts index 064f2c6e..6a49ceef 100644 --- a/frontend/src/components/__tests__/HeaderDefault.spec.ts +++ b/frontend/src/components/__tests__/HeaderDefault.spec.ts @@ -37,7 +37,7 @@ const makeWrapper = () => { ) } -describe('HeaderDefault.vue', () => { +describe.concurrent('HeaderDefault.vue', () => { it('renders the logo and title', () => { const wrapper = makeWrapper() diff --git a/frontend/src/components/__tests__/HeaderDetailPage.spec.ts b/frontend/src/components/__tests__/HeaderDetailPage.spec.ts index dba39f6c..4ebbbdde 100644 --- a/frontend/src/components/__tests__/HeaderDetailPage.spec.ts +++ b/frontend/src/components/__tests__/HeaderDetailPage.spec.ts @@ -53,7 +53,7 @@ const geneData = { } } -describe('HeaderDetailPage', async () => { +describe.concurrent('HeaderDetailPage', async () => { it('renders the gene symbol and nav links', () => { const wrapper = makeWrapper() diff --git a/frontend/src/components/__tests__/ScoreDisplay.spec.ts b/frontend/src/components/__tests__/ScoreDisplay.spec.ts index bf6e2686..e5d3136e 100644 --- a/frontend/src/components/__tests__/ScoreDisplay.spec.ts +++ b/frontend/src/components/__tests__/ScoreDisplay.spec.ts @@ -39,7 +39,7 @@ const makeWrapper = () => { }) } -describe('ScoreDisplay', async () => { +describe.concurrent('ScoreDisplay', async () => { it('renders the ScoreDisplay with default props', async () => { const wrapper = makeWrapper() const svg = wrapper.find('svg') diff --git a/frontend/src/components/__tests__/SearchBar.spec.ts b/frontend/src/components/__tests__/SearchBar.spec.ts index 9b733492..09462417 100644 --- a/frontend/src/components/__tests__/SearchBar.spec.ts +++ b/frontend/src/components/__tests__/SearchBar.spec.ts @@ -33,7 +33,7 @@ const makeWrapper = () => { }) } -describe('SearchBar.vue', () => { +describe.concurrent('SearchBar.vue', () => { it('renders the search bar with the correct default props', () => { const wrapper = makeWrapper() diff --git a/frontend/src/components/__tests__/TxCsq.spec.ts b/frontend/src/components/__tests__/TxCsq.spec.ts index 8e3a58d7..71bc0ef0 100644 --- a/frontend/src/components/__tests__/TxCsq.spec.ts +++ b/frontend/src/components/__tests__/TxCsq.spec.ts @@ -38,7 +38,7 @@ const makeWrapper = () => { }) } -describe('TxCsq', async () => { +describe.concurrent('TxCsq', async () => { it('renders the TxCsq info', async () => { const wrapper = makeWrapper() const table = wrapper.find('table') diff --git a/frontend/src/components/__tests__/VariantConservation.spec.ts b/frontend/src/components/__tests__/VariantConservation.spec.ts index 8e24be51..fabf1320 100644 --- a/frontend/src/components/__tests__/VariantConservation.spec.ts +++ b/frontend/src/components/__tests__/VariantConservation.spec.ts @@ -38,7 +38,7 @@ const makeWrapper = () => { }) } -describe('VariantConservation', async () => { +describe.concurrent('VariantConservation', async () => { it('renders the VariantConservation info', async () => { const wrapper = makeWrapper() expect(wrapper.text()).toContain('The following shows UCSC 100 vertebrate conservation.') diff --git a/frontend/src/components/__tests__/VariantFreqs.spec.ts b/frontend/src/components/__tests__/VariantFreqs.spec.ts index 0339f993..2d5e4761 100644 --- a/frontend/src/components/__tests__/VariantFreqs.spec.ts +++ b/frontend/src/components/__tests__/VariantFreqs.spec.ts @@ -50,7 +50,7 @@ const makeWrapper = () => { }) } -describe('VariantFreqs', async () => { +describe.concurrent('VariantFreqs', async () => { it('renders the VariantFreqs info', async () => { const wrapper = makeWrapper() const freqsAutosomal = wrapper.findComponent(VariantDetailsFreqsAutosomal) diff --git a/frontend/src/components/__tests__/VariantGene.spec.ts b/frontend/src/components/__tests__/VariantGene.spec.ts index 2353ca6d..a6a84e2e 100644 --- a/frontend/src/components/__tests__/VariantGene.spec.ts +++ b/frontend/src/components/__tests__/VariantGene.spec.ts @@ -38,7 +38,7 @@ const makeWrapper = () => { }) } -describe('VariantGene', async () => { +describe.concurrent('VariantGene', async () => { it('renders the VariantGene info', async () => { const wrapper = makeWrapper() expect(wrapper.text()).toContain('HGNC') diff --git a/frontend/src/components/__tests__/VariantTools.spec.ts b/frontend/src/components/__tests__/VariantTools.spec.ts index a520f206..7eb33bea 100644 --- a/frontend/src/components/__tests__/VariantTools.spec.ts +++ b/frontend/src/components/__tests__/VariantTools.spec.ts @@ -49,7 +49,7 @@ const makeWrapper = () => { }) } -describe('VariantTools', async () => { +describe.concurrent('VariantTools', async () => { it('renders the VariantTools info', async () => { const wrapper = makeWrapper() expect(wrapper.text()).toContain('External Resources') diff --git a/frontend/src/components/__tests__/VariantValidator.spec.ts b/frontend/src/components/__tests__/VariantValidator.spec.ts index 5c1f4b0f..3e4f1716 100644 --- a/frontend/src/components/__tests__/VariantValidator.spec.ts +++ b/frontend/src/components/__tests__/VariantValidator.spec.ts @@ -54,7 +54,7 @@ global.fetch = vi.fn((): any => Promise.resolve({ json: () => Promise.resolve(VariantValidatorInfo) }) ) -describe('VariantValidator', async () => { +describe.concurrent('VariantValidator', async () => { it('renders the VariantValidator info', async () => { const wrapper = makeWrapper() expect(wrapper.text()).toContain('to submit the variant to VariantValidator.org.') diff --git a/frontend/src/stores/__tests__/geneInfo.spec.ts b/frontend/src/stores/__tests__/geneInfo.spec.ts index 4c823803..311aa009 100644 --- a/frontend/src/stores/__tests__/geneInfo.spec.ts +++ b/frontend/src/stores/__tests__/geneInfo.spec.ts @@ -8,7 +8,7 @@ import { useGeneInfoStore } from '../geneInfo' const fetchMocker = createFetchMock(vi) -describe('geneInfo Store', () => { +describe.concurrent('geneInfo Store', () => { beforeEach(() => { setActivePinia(createPinia()) fetchMocker.enableMocks() diff --git a/frontend/src/stores/__tests__/genesList.spec.ts b/frontend/src/stores/__tests__/genesList.spec.ts index 1b806561..f4f2cd48 100644 --- a/frontend/src/stores/__tests__/genesList.spec.ts +++ b/frontend/src/stores/__tests__/genesList.spec.ts @@ -27,7 +27,7 @@ const exampleGenesList = { ] } -describe('geneInfo Store', () => { +describe.concurrent('geneInfo Store', () => { beforeEach(() => { setActivePinia(createPinia()) fetchMocker.enableMocks() diff --git a/frontend/src/stores/__tests__/misc.spec.ts b/frontend/src/stores/__tests__/misc.spec.ts index e47598b9..b988fee1 100644 --- a/frontend/src/stores/__tests__/misc.spec.ts +++ b/frontend/src/stores/__tests__/misc.spec.ts @@ -7,7 +7,7 @@ import { StoreState, useMiscStore } from '../misc' const fetchMocker = createFetchMock(vi) -describe('miscInfo Store', () => { +describe.concurrent('miscInfo Store', () => { beforeEach(() => { setActivePinia(createPinia()) fetchMocker.enableMocks() diff --git a/frontend/src/stores/__tests__/variantInfo.spec.ts b/frontend/src/stores/__tests__/variantInfo.spec.ts index e0a6627d..e6f70baa 100644 --- a/frontend/src/stores/__tests__/variantInfo.spec.ts +++ b/frontend/src/stores/__tests__/variantInfo.spec.ts @@ -21,7 +21,7 @@ const smallVariantInfo = { hgnc_id: 'HGNC:1100' } -describe('geneInfo Store', () => { +describe.concurrent('geneInfo Store', () => { beforeEach(() => { setActivePinia(createPinia()) fetchMocker.enableMocks() diff --git a/frontend/src/views/__tests__/AboutView.spec.ts b/frontend/src/views/__tests__/AboutView.spec.ts index 7a2e5646..bdf99e39 100644 --- a/frontend/src/views/__tests__/AboutView.spec.ts +++ b/frontend/src/views/__tests__/AboutView.spec.ts @@ -48,7 +48,7 @@ const makeWrapper = () => { } ) } -describe('AboutView', async () => { +describe.concurrent('AboutView', async () => { it('renders the header', () => { const wrapper = makeWrapper() diff --git a/frontend/src/views/__tests__/ContactView.spec.ts b/frontend/src/views/__tests__/ContactView.spec.ts index 121df6f2..c41d6c0e 100644 --- a/frontend/src/views/__tests__/ContactView.spec.ts +++ b/frontend/src/views/__tests__/ContactView.spec.ts @@ -49,7 +49,7 @@ const makeWrapper = () => { ) } -describe('ContactView', async () => { +describe.concurrent('ContactView', async () => { it('renders the header', () => { const wrapper = makeWrapper() diff --git a/frontend/src/views/__tests__/GeneDetailView.spec.ts b/frontend/src/views/__tests__/GeneDetailView.spec.ts index 2e6d1af6..fb148f1c 100644 --- a/frontend/src/views/__tests__/GeneDetailView.spec.ts +++ b/frontend/src/views/__tests__/GeneDetailView.spec.ts @@ -67,7 +67,7 @@ const makeWrapper = () => { ) } -describe('GeneDetailView', async () => { +describe.concurrent('GeneDetailView', async () => { it('renders the header', async () => { const wrapper = makeWrapper() diff --git a/frontend/src/views/__tests__/GenesListView.spec.ts b/frontend/src/views/__tests__/GenesListView.spec.ts index c58ddcd0..f828c254 100644 --- a/frontend/src/views/__tests__/GenesListView.spec.ts +++ b/frontend/src/views/__tests__/GenesListView.spec.ts @@ -80,7 +80,7 @@ const makeWrapper = () => { ) } -describe('GenesListView', async () => { +describe.concurrent('GenesListView', async () => { it('renders the header, footer and searchBar', async () => { const wrapper = makeWrapper() diff --git a/frontend/src/views/__tests__/HomeView.spec.ts b/frontend/src/views/__tests__/HomeView.spec.ts index 96cb049f..8e6d798b 100644 --- a/frontend/src/views/__tests__/HomeView.spec.ts +++ b/frontend/src/views/__tests__/HomeView.spec.ts @@ -73,7 +73,7 @@ const router = createRouter({ // Mock router push router.push = vi.fn() -describe('HomeView with mocked router', async () => { +describe.concurrent('HomeView with mocked router', async () => { it('renders the header and the footer', () => { const wrapper = makeWrapper(router) const header = wrapper.findComponent(HeaderDefault) diff --git a/frontend/src/views/__tests__/VariantDetailView.spec.ts b/frontend/src/views/__tests__/VariantDetailView.spec.ts index b082d876..f10a6988 100644 --- a/frontend/src/views/__tests__/VariantDetailView.spec.ts +++ b/frontend/src/views/__tests__/VariantDetailView.spec.ts @@ -97,7 +97,7 @@ const makeWrapper = () => { ) } -describe('VariantDetailView', async () => { +describe.concurrent('VariantDetailView', async () => { it('renders the header', async () => { const wrapper = makeWrapper()