Skip to content

Commit

Permalink
Fix test failure in Chrome 51
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed Jun 6, 2016
1 parent d496a1c commit 4a7c46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('Initialization TestCase', function () {

// nodeList is a NodeList, similar to an array but not of the same type
expect(editor.elements.length).toEqual(nodeList.length);
expect(typeof nodeList.forEach).toBe('undefined');
expect(Array.isArray(nodeList)).toBe(false);
expect(typeof editor.elements.forEach).toBe('function');
editor.destroy();

Expand Down

0 comments on commit 4a7c46e

Please sign in to comment.