Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Oct 31, 2023
1 parent 1a4dd55 commit 1b58f92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/testHubs.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ suite("hub.txt", function () {
assert.ok(genomeConfig.twoBitURL)
assert.ok(genomeConfig.chromAliasBbURL)
assert.ok(genomeConfig.cytobandBbURL)
assert.ok(genomeConfig.trackConfigurations.length > 0)
})

test("track configs", async function() {
const hub = await Hub.loadHub("test/data/hubs/hub.txt")
const groupedTrackConfigurations = hub.getGroupedTrackConfigurations();
assert.equal(5, groupedTrackConfigurations.length);
})


Expand Down

0 comments on commit 1b58f92

Please sign in to comment.