Skip to content

parseChunk -> parseString, add tests, some are still failing #52

parseChunk -> parseString, add tests, some are still failing

parseChunk -> parseString, add tests, some are still failing #52

Triggered via push November 13, 2025 10:28
Status Failure
Total duration 1m 11s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

17 errors
test-node
Process completed with exit code 1.
tests/url.test.ts > Papaparse high-level tests > UTF-8 BOM encoded input is stripped from invisible BOM character: tests/url.test.ts#L229
AssertionError: expected [ [ 'A', 'B' ], [ '', 'B' ], …(1) ] to deeply equal [ [ 'A', 'B' ], [ 'X', 'Y' ] ] - Expected + Received @@ -2,9 +2,13 @@ [ "A", "B", ], [ + "", + "B", + ], + [ "X", "Y", ], ] ❯ tests/url.test.ts:229:20
tests/url.test.ts > Papaparse high-level tests > Empty lines: tests/url.test.ts#L229
AssertionError: expected [ [ '' ], [ 'a', 'b', 'c' ], …(3) ] to deeply equal [ [ '' ], [ 'a', 'b', 'c' ], …(4) ] - Expected + Received @@ -16,9 +16,6 @@ "f", ], [ "", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:20
tests/url.test.ts > Papaparse high-level tests > Input is just a string (a single field): tests/url.test.ts#L230
AssertionError: expected [] to deeply equal [ { type: 'Delimiter', …(2) } ] - Expected + Received - [ - { - "code": "UndetectableDelimiter", - "message": "Unable to auto-detect delimiting character; defaulted to ','", - "type": "Delimiter", - }, - ] + [] ❯ tests/url.test.ts:230:22
tests/url.test.ts > Papaparse high-level tests > Blank lines at end: tests/url.test.ts#L229
AssertionError: expected [ [ 'a', 'b', 'c' ], …(2) ] to deeply equal [ [ 'a', 'b', 'c' ], …(3) ] - Expected + Received @@ -10,9 +10,6 @@ "f", ], [ "", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:20
tests/url.test.ts > Papaparse high-level tests > Mixed slash n and slash r should choose first as precident: tests/url.test.ts#L229
AssertionError: expected [ [ 'a', 'b', 'c' ], …(1) ] to deeply equal [ [ 'a', 'b', 'c' ], …(2) ] - Expected + Received @@ -9,9 +9,6 @@ "e", "f g", "h", "i", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:20
tests/string.test.ts > Papaparse high-level tests > UTF-8 BOM encoded input is stripped from invisible BOM character: tests/string.test.ts#L51
AssertionError: expected [ [ '\ufeffA', 'B' ], [ 'X', 'Y' ] ] to deeply equal [ [ 'A', 'B' ], [ 'X', 'Y' ] ] - Expected + Received @@ -1,8 +1,8 @@ [ [ - "A", + "A", "B", ], [ "X", "Y", ❯ tests/string.test.ts:51:20
tests/url.test.ts > Papaparse high-level tests > Input is just a string (a single field): tests/url.test.ts#L230
AssertionError: expected [] to deeply equal [ { type: 'Delimiter', …(2) } ] - Expected + Received - [ - { - "code": "UndetectableDelimiter", - "message": "Unable to auto-detect delimiting character; defaulted to ','", - "type": "Delimiter", - }, - ] + [] ❯ tests/url.test.ts:230:21
tests/url.test.ts > Papaparse high-level tests > Blank lines at end: tests/url.test.ts#L229
AssertionError: expected [ [ 'a', 'b', 'c' ], …(2) ] to deeply equal [ [ 'a', 'b', 'c' ], …(3) ] - Expected + Received @@ -10,9 +10,6 @@ "f", ], [ "", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:19
tests/url.test.ts > Papaparse high-level tests > Mixed slash n and slash r should choose first as precident: tests/url.test.ts#L229
AssertionError: expected [ [ 'a', 'b', 'c' ], …(1) ] to deeply equal [ [ 'a', 'b', 'c' ], …(2) ] - Expected + Received @@ -9,9 +9,6 @@ "e", "f g", "h", "i", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:19
tests/string.test.ts > Papaparse high-level tests > UTF-8 BOM encoded input is stripped from invisible BOM character: tests/string.test.ts#L51
AssertionError: expected [ [ '\ufeffA', 'B' ], [ 'X', 'Y' ] ] to deeply equal [ [ 'A', 'B' ], [ 'X', 'Y' ] ] - Expected + Received @@ -1,8 +1,8 @@ [ [ - "A", + "A", "B", ], [ "X", "Y", ❯ tests/string.test.ts:51:19
tests/url.test.ts > Papaparse high-level tests > UTF-8 BOM encoded input is stripped from invisible BOM character: tests/url.test.ts#L229
AssertionError: expected [ [ 'A', 'B' ], [ '', 'B' ], …(1) ] to deeply equal [ [ 'A', 'B' ], [ 'X', 'Y' ] ] - Expected + Received @@ -2,9 +2,13 @@ [ "A", "B", ], [ + "", + "B", + ], + [ "X", "Y", ], ] ❯ tests/url.test.ts:229:19
tests/url.test.ts > Papaparse high-level tests > Empty lines: tests/url.test.ts#L229
AssertionError: expected [ [ '' ], [ 'a', 'b', 'c' ], …(3) ] to deeply equal [ [ '' ], [ 'a', 'b', 'c' ], …(4) ] - Expected + Received @@ -16,9 +16,6 @@ "f", ], [ "", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:19
tests/url.test.ts > Papaparse high-level tests > Input is just a string (a single field): tests/url.test.ts#L230
AssertionError: expected [] to deeply equal [ { type: 'Delimiter', …(2) } ] - Expected + Received - [ - { - "code": "UndetectableDelimiter", - "message": "Unable to auto-detect delimiting character; defaulted to ','", - "type": "Delimiter", - }, - ] + [] ❯ tests/url.test.ts:230:21
tests/url.test.ts > Papaparse high-level tests > Blank lines at end: tests/url.test.ts#L229
AssertionError: expected [ [ 'a', 'b', 'c' ], …(2) ] to deeply equal [ [ 'a', 'b', 'c' ], …(3) ] - Expected + Received @@ -10,9 +10,6 @@ "f", ], [ "", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:19
tests/url.test.ts > Papaparse high-level tests > Mixed slash n and slash r should choose first as precident: tests/url.test.ts#L229
AssertionError: expected [ [ 'a', 'b', 'c' ], …(1) ] to deeply equal [ [ 'a', 'b', 'c' ], …(2) ] - Expected + Received @@ -9,9 +9,6 @@ "e", "f g", "h", "i", ], - [ - "", - ], ] ❯ tests/url.test.ts:229:19
tests/string.test.ts > Papaparse high-level tests > UTF-8 BOM encoded input is stripped from invisible BOM character: tests/string.test.ts#L51
AssertionError: expected [ [ '\ufeffA', 'B' ], [ 'X', 'Y' ] ] to deeply equal [ [ 'A', 'B' ], [ 'X', 'Y' ] ] - Expected + Received @@ -1,8 +1,8 @@ [ [ - "A", + "A", "B", ], [ "X", "Y", ❯ tests/string.test.ts:51:19