From 4a7c46e8def73636cf4ca72c3ebdb5d5d4a142a1 Mon Sep 17 00:00:00 2001 From: Nate Mielnik Date: Mon, 6 Jun 2016 00:53:28 -0400 Subject: [PATCH] Fix test failure in Chrome 51 --- spec/init.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/init.spec.js b/spec/init.spec.js index 0a31b37ab..a16e6d181 100644 --- a/spec/init.spec.js +++ b/spec/init.spec.js @@ -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();