Skip to content

Commit 247fecd

Browse files
author
Matthias Clausen
committed
remove console.log and obsolete test
1 parent 5810a4e commit 247fecd

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

papaparse.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ License: MIT
187187

188188
// Strip character from UTF-8 BOM encoded files that cause issue parsing the file
189189
function stripBom(string) {
190-
console.log(`checking ${string}`);
191190
if (string.charCodeAt(0) === 0xfeff) {
192191
return string.slice(1);
193192
}

tests/test-cases.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,18 +1709,6 @@ var PARSE_ASYNC_TESTS = [
17091709
errors: []
17101710
}
17111711
},
1712-
{
1713-
description: "Simple file with BOM encoding and header",
1714-
disabled: !FILES_ENABLED,
1715-
input: FILES_ENABLED ? new File(["\ufeffA,B\nX,Y"], "sample.csv") : false,
1716-
config: {
1717-
header: true,
1718-
},
1719-
expected: {
1720-
data: [{'\ufeffA': 'X', B: 'Y'}],
1721-
errors: []
1722-
}
1723-
},
17241712
{
17251713
description: "Simple file + worker",
17261714
disabled: !FILES_ENABLED,

0 commit comments

Comments
 (0)