Skip to content

Commit 1d27bee

Browse files
committed
test fix
1 parent 227ad42 commit 1d27bee

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

tests/importers.test.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,7 @@ describe("parseCustomStationsFromText", () => {
7070
);
7171
});
7272

73-
it("handles csv with escape sequences cleanly", () => {
74-
const csv = "lat,lng\n-122.4194,-122.4194";
75-
expect(() => parseCustomStationsFromText(csv, "text/csv")).toThrowError(
76-
/missing required 'name'/i,
77-
);
78-
});
79-
80-
it("handles multiline quoted fields (RFC 4180)", () => {
73+
it("handles multiline quoted fields", () => {
8174
const csv =
8275
'lat,lng,name\n37.7749,-122.4194,"Downtown\nSan Francisco"\n37.784,-122.41,Oakland';
8376
const stations = parseCustomStationsFromText(csv, "text/csv");

0 commit comments

Comments
 (0)