[Tips] How to test downloaded Excel file from response #2777
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2777
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gist to test the content of an Excel File in a controller (e2e) test, with a lib like supertest:
Very cool, thanks for sharing! Server demos like the
express
example currently recommend opening the page with a browser (or using curl to upload data manually)Is there a reason why the content type is
text/xlsx
rather than the typicalapplication/vnd.ms-excel
orapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
?The content type is a mistake of mine, I fix it right now. Thank you 🙏