Skip to content

Commit 6457a90

Browse files
committed
test(csv-parse): remove duplicated sync tests
1 parent 3503c1e commit 6457a90

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

packages/csv-parse/test/api.types.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -102,27 +102,6 @@ describe("API Types", function () {
102102
});
103103
});
104104

105-
describe("sync api", function () {
106-
it("respect parse signature", function () {
107-
// No argument
108-
parse_sync("");
109-
parse_sync("", {});
110-
parse_sync(Buffer.from(""));
111-
parse_sync(Buffer.from(""), {});
112-
});
113-
114-
it("return records", function () {
115-
try {
116-
const records: object = parse_sync("");
117-
typeof records;
118-
} catch (err) {
119-
if (err instanceof CsvError) {
120-
err.message;
121-
}
122-
}
123-
});
124-
});
125-
126105
describe("Info", function () {
127106
const fakeinfo = {
128107
bytes: 1,

0 commit comments

Comments
 (0)