diff --git a/.gitignore b/.gitignore index b64031e..18554cd 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,9 @@ tmp *.htm *.html *.sheetjs + +lab/ +test_files +example.js +example2.js +.idea diff --git a/test-style.js b/test-style.js deleted file mode 100644 index 0f57293..0000000 --- a/test-style.js +++ /dev/null @@ -1,661 +0,0 @@ -var XLSX = require('./'); - -var JSZip = require('jszip'); -var fs = require('fs'); -var cheerio = require('cheerio'); - -var assert = require('assert'); - -function JSDateToExcelDate(inDate) { - return 25569.0 + ((inDate.getTime() - (inDate.getTimezoneOffset() * 60 * 1000)) / (1000 * 60 * 60 * 24)); -} - -var defaultCellStyle = { font: { name: "Verdana", sz: 11, color: "FF00FF88"}, fill: {fgColor: {rgb: "FFFFAA00"}}}; - -// test to see if everything on the left equals its counterpart on the right -// but the right hand object may have other attributes which we might not care about -function basicallyEquals(left, right) { - if (Array.isArray(left) && Array.isArray(right)) { - for (var i=0; i