✨ feature: Enhance output options with Google Sheets integration and improve Excel writer functionality
This commit is contained in:
@@ -35,5 +35,9 @@ describe('ExcelWriter', () => {
|
||||
const workbook = XLSX.readFile(path);
|
||||
expect(workbook.SheetNames[0]).toBe('A Very Long Newsletter Name Tha');
|
||||
expect(workbook.SheetNames[0].length).toBe(31);
|
||||
const rows = XLSX.utils.sheet_to_json<Record<string, unknown>>(
|
||||
workbook.Sheets[workbook.SheetNames[0]]
|
||||
);
|
||||
expect(rows[0]).not.toHaveProperty('Source Newsletter');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user