(str, opt: { delimiter: string | string[] })
| 4 | |
| 5 | describe("Test delimiters", function () { |
| 6 | const getDelimiter = (str, opt: { delimiter: string | string[] }): string => { |
| 7 | return RowSplit.prototype["getDelimiter"].call({ |
| 8 | conv: { |
| 9 | parseParam: { |
| 10 | delimiter: opt.delimiter |
| 11 | } |
| 12 | } |
| 13 | }, str); |
| 14 | } |
| 15 | |
| 16 | it("should return the explicitly specified delimiter", function () { |
| 17 | var delimiter = ";"; |