Skip to content

Commit

Permalink
Add test to verify correct parsing of old ClosedXml
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 25, 2023
1 parent 02d92c2 commit 9c7ab69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/JS/Exceljs.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ describe('FsSpreadsheet.Exceljs', function () {
let worksheets = fswb.GetWorksheets()
equal(worksheets.length, 5)
});
it('readOldClosedXml', async () => {
const path = "tests/JS/TestFiles/readOldClosedXml.xlsx";
const fswb = await Xlsx.fromXlsxFile(path)
let worksheets = fswb.GetWorksheets()
equal(worksheets.length, 1)
});
})
describe('write', function () {
it('roundabout', async () => {
Expand Down
Binary file modified tests/JS/TestFiles/WriteTable.xlsx
Binary file not shown.
Binary file added tests/JS/TestFiles/readOldClosedXml.xlsx
Binary file not shown.

0 comments on commit 9c7ab69

Please sign in to comment.