Skip to content

Commit

Permalink
tests changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Nov 24, 2023
1 parent e8c5673 commit ccb4e19
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe.concurrent('ConstraintsCard', async () => {
{ component: ConstraintsCard, template: false },
{
props: {
gnomadConstraints: BRCA1GeneInfo['genes']['HGNC:1100']['gnomad_constraints']
gnomadConstraints: BRCA1GeneInfo['genes']['HGNC:1100']['gnomadConstraints']
}
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe.concurrent('NcbiSummary', async () => {
{
props: {
ncbiSummary: BRCA1GeneInfo['genes']['HGNC:1100']['ncbi']['summary'],
geneId: BRCA1GeneInfo['genes']['HGNC:1100']['ncbi']['gene_id']
geneId: BRCA1GeneInfo['genes']['HGNC:1100']['ncbi']['geneId']
}
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe.concurrent('SupplementaryList', async () => {
{ component: SupplementaryList, template: false },
{
props: {
acmgSf: BRCA1GeneInfo['genes']['HGNC:1100']['acmg_sf']
acmgSf: BRCA1GeneInfo['genes']['HGNC:1100']['acmgSf']
}
}
)
Expand Down
10 changes: 9 additions & 1 deletion frontend/src/components/__tests__/UserProfileButton.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ const adminUser: UserData = {
email: '[email protected]',
is_active: true,
is_superuser: true,
is_verified: true
is_verified: true,
oauth_accounts: [
{
id: '2c0a153e-5e8c-11ee-8c99-0242ac120002',
oauth_name: 'google',
account_id: '1234567890',
account_email: '[email protected]'
}
]
}

describe.concurrent('UserProfileButton', () => {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/stores/variantInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export const useVariantInfoStore = defineStore('variantInfo', () => {
reference,
alternative
)
console.log('variantData', variantData)
varAnnos.value = variantData.result

const txCsqData = await mehariClient.retrieveSeqvarsCsq(
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const examples: Example[] = [
label: 'genomic specification of a deletion',
genomeRelease: 'grch37'
},
{ query: 'chrMT:8993:T:G', label: 'mitochondrial variants', genomeRelease: 'grch38' },
{ query: 'chrMT:15172:G:A', genomeRelease: 'grch38' }
{ query: 'chrMT:8993:T:G', label: 'mitochondrial variants', genomeRelease: 'grch37' },
{ query: 'chrMT:15172:G:A', genomeRelease: 'grch37' }
]
const performExampleSearch = (example: Example) => {
Expand Down

0 comments on commit ccb4e19

Please sign in to comment.