diff --git a/test/parse.js b/test/parse.js index e545aa3b..cda69284 100644 --- a/test/parse.js +++ b/test/parse.js @@ -407,7 +407,7 @@ test('parse()', function (t) { return parseFloat(str); } - if (str && typeof str === 'string' && str.includes(',')) { + if (str && typeof str === 'string' && str.indexOf(',') > -1) { return str.split(',').map(function (item) { if (!isNaN(item)) { return parseFloat(item);