Browse Source

Update file test case to do not filter response data

Now a single row is returned on the step function
pull/599/head
Sergi Almacellas Abellana 6 years ago
parent
commit
ded2feb4f2
  1. 2
      tests/test-cases.js

2
tests/test-cases.js

@ -1957,7 +1957,7 @@ var CUSTOM_TESTS = [ @@ -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);

Loading…
Cancel
Save