Skip to content

Commit

Permalink
Added sanity testcase for fetch variants from array of uids
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil-lakshman committed Sep 24, 2024
1 parent 59d20ad commit 799aeec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/sanity-check/api/ungroupedVariants-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ describe('Ungrouped Variants api Test', () => {
})
.catch(done)
})
it('Should fetch variants from array of uids', done => {
makeVariants()
.fetchByUIDs(['variantsUID'])
.then((variantsResponse) => {
expect(variantsResponse.variants.length).to.be.equal(1)
done()
})
.catch(done)
})

it('Should Query to get all ungrouped variants', done => {
makeVariants()
Expand Down

0 comments on commit 799aeec

Please sign in to comment.