From ded2feb4f201f9f127d226dce3cf710c7bbe1f04 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 20 Nov 2018 12:58:35 +0100 Subject: [PATCH] Update file test case to do not filter response data Now a single row is returned on the step function --- tests/test-cases.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-cases.js b/tests/test-cases.js index 44521e5..9477892 100644 --- a/tests/test-cases.js +++ b/tests/test-cases.js @@ -1957,7 +1957,7 @@ var CUSTOM_TESTS = [ Papa.parse(new File(['A,B,C\nX,"Y\n1\n2\n3",Z'], 'sample.csv'), { chunkSize: 3, step: function(response) { - updates.push(response.data[0]); + updates.push(response.data); }, complete: function() { callback(updates);