diff --git a/test/element/active-element.test.js b/test/element/active-element.test.js index 1a07c67..e220b69 100644 --- a/test/element/active-element.test.js +++ b/test/element/active-element.test.js @@ -24,6 +24,6 @@ describe('activeElement()', () => { it('always returns active element', () => { document.activeElement.blur(); - assert.equal(activeElement(), document.body); + assert.instanceOf(activeElement(), Element); }); });