Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Mar 18, 2015
1 parent 5b1fe5a commit b1d2bf4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/TwoBitDataSource-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('TwoBitDataSource', function() {
source = createTwoBitDataSource(tb);

source.on('newdata', () => {
expect(source.getRange({contig: 'chr22', start: 1, stop: 18}))
expect(source.getRange({contig: 'chr22', start: 1, stop: 15}))
.to.deep.equal({
'chr22:1': 'N',
'chr22:2': 'T',
Expand All @@ -68,10 +68,7 @@ describe('TwoBitDataSource', function() {
'chr22:12': 'C',
'chr22:13': 'C',
'chr22:14': 'A',
'chr22:15': 'T', // 5 past end of request
'chr22:16': null,
'chr22:17': null,
'chr22:18': null
'chr22:15': 'T',
});
done();
});
Expand Down

0 comments on commit b1d2bf4

Please sign in to comment.