Skip to content

Commit

Permalink
Fix activeElement() test for IE 10
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Aug 14, 2018
1 parent 429e911 commit e5d7923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/element/active-element.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ describe('activeElement()', () => {
it('always returns active element', () => {
document.activeElement.blur();

assert.equal(activeElement(), document.body);
assert.instanceOf(activeElement(), Element);
});
});

0 comments on commit e5d7923

Please sign in to comment.