Comparing version 0.2.15 to 0.2.16
{ | ||
"name": "j", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"author": "sheetjs", | ||
@@ -12,3 +12,3 @@ "description": "data wrangler", | ||
"dependencies": { | ||
"xlsjs": "~0.6.11", | ||
"xlsjs": "~0.6.13", | ||
"xlsx": "~0.5.12", | ||
@@ -15,0 +15,0 @@ "commander":"" |
10
test.js
@@ -26,3 +26,3 @@ /* j -- (C) 2013-2014 SheetJS -- http://sheetjs.com */ | ||
function cmparr(x) { for(var i=1; i!=x.length; ++i) for(var j=0; j<i; ++j) assert.deepEqual(x[i], x[j]); } | ||
function cmparr(x){ for(var i=1;i!=x.length;++i) assert.deepEqual(x[0], x[i]); } | ||
@@ -36,6 +36,14 @@ var mfopts = opts; | ||
for(var j = 1; j != r.length; ++j) f[j-1] = J.readFile(dir + r[0] + r[j], mfopts); | ||
console.log(f.length); | ||
}); | ||
it('should have the same sheetnames', function() { | ||
cmparr(f.map(function(x) { return x[1].SheetNames; })); | ||
console.log(f.length); | ||
}); | ||
it.skip('should have the same ranges', function() { | ||
f[0][1].SheetNames.forEach(function(s) { | ||
var ss = f.map(function(x) { return x[1].Sheets[s]; }); | ||
cmparr(ss.map(function(s) { return s['!ref']; })); | ||
}); | ||
}); | ||
}); }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36127
177
Updatedxlsjs@~0.6.13