-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
5 changed files
with
84 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { describe, expect, it } from 'vitest' | ||
|
||
import { publicTracks } from '../genomeBrowserTracks' | ||
|
||
describe('publicTracks', () => { | ||
it('should have at least one track', () => { | ||
expect(publicTracks.length).toBeGreaterThan(0) | ||
}) | ||
|
||
it('should have a name for each track', () => { | ||
publicTracks.forEach((track) => { | ||
expect(track.name).toBeDefined() | ||
}) | ||
}) | ||
|
||
it('should have a sourceType for each track', () => { | ||
publicTracks.forEach((track) => { | ||
expect(track.sourceType).toBeDefined() | ||
}) | ||
}) | ||
|
||
it('should have a format for each track', () => { | ||
publicTracks.forEach((track) => { | ||
expect(track.format).toBeDefined() | ||
}) | ||
}) | ||
|
||
it('should have a visibilityWindow for each track', () => { | ||
publicTracks.forEach((track) => { | ||
expect(track.visibilityWindow).toBeDefined() | ||
}) | ||
}) | ||
|
||
it('should have a url for each track', () => { | ||
publicTracks.forEach((track) => { | ||
expect(track.url).toBeDefined() | ||
}) | ||
}) | ||
|
||
it('should have a color for each track', () => { | ||
publicTracks.forEach((track) => { | ||
expect(track.color).toBeDefined() | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters