From a9a981f668cc4c246b946fea04174c5fcb2084e0 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 15 Jul 2015 20:54:50 +0200 Subject: [PATCH] test-cases: Conditionally disable custom test using File API --- tests/test-cases.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-cases.js b/tests/test-cases.js index bceb9d1..529d4f7 100644 --- a/tests/test-cases.js +++ b/tests/test-cases.js @@ -1044,6 +1044,7 @@ var CUSTOM_TESTS = [ { description: "Complete is called with all results if neither step nor chunk is defined", expected: [['A', 'b', 'c'], ['d', 'E', 'f'], ['G', 'h', 'i']], + disabled: !FILES_ENABLED, run: function(callback) { Papa.parse(new File(['A,b,c\nd,E,f\nG,h,i'], 'sample.csv'), { chunkSize: 3,