forked from exceljs/exceljs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe3dc24
commit b6762d7
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const ExcelJS = verquire('exceljs'); | ||
|
||
describe('github issues', () => { | ||
describe('pull request 1487 - lastColumn with an empty column', () => { | ||
it('Reading 1904.xlsx', () => { | ||
const wb = new ExcelJS.Workbook(); | ||
return wb.xlsx.readFile('./spec/integration/data/1904.xlsx').then(() => { | ||
const ws = wb.getWorksheet('Sheet1'); | ||
expect(ws.lastColumn).to.equal(ws.getColumn(2)); | ||
}); | ||
}); | ||
}); | ||
// the new property is also tested in gold.spec.js | ||
}); |