fix: change test to read string, not buffer #2042
No reviewers
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#2042
Loading…
Reference in New Issue
No description provided.
Delete Branch "change-buffer-to-string"
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?
The browser test
CSV > input > should interpret CRLF newlines
was throwing an error for buffer not being defined.A quick fix was to read it as a
string
instead of abuffer
.This also passes the browser tests and the Sauce Labs tests.
LGTM. Has this been an issue for some time or did it just pop up recently? Just curious
Relatively recently. When we originally made the test for nodejs, Buffer was used. That's not available in browser. @wlawt found that the some of the node tests weren't be run in-browser, and tried reconciling the two test suites in a previous commit. He tried to run the browser tests and found this issue, and the PR addresses the problem (https://app.saucelabs.com/builds/c1670f5dd3384c968095e8ed797c3d57 is the browser test run)