(input)
| 325 | |
| 326 | describe("Encoding using internal modules with surrogates in separate chunks:", function () { |
| 327 | function checkUtf8EncodeStream (input) { |
| 328 | return checkEncodeStream({ |
| 329 | encoding: "utf8", |
| 330 | input: input, |
| 331 | output: Buffer.from(input.join(""), "utf8").toString("hex") |
| 332 | }) |
| 333 | } |
| 334 | |
| 335 | it("a single string", checkUtf8EncodeStream(["\uD83D\uDE3B"])) |
| 336 |
no test coverage detected
searching dependent graphs…