Skip to content

Commit

Permalink
no longer require focus for getSelection
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Sep 11, 2016
1 parent 590e3cb commit 8807e8f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/unit/core/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,6 @@ describe('Selection', function() {
expect(range.length).toEqual(4);
});

it('no focus', function() {
let selection = this.initialize(Selection, '');
let [range, ] = selection.getRange();
expect(range).toEqual(null);
});

it('wrong input', function() {
let container = this.initialize(HTMLElement, `
<textarea>Test</textarea>
Expand Down

0 comments on commit 8807e8f

Please sign in to comment.