diff --git a/packages/parse5-parser-stream/test/utils/parse-chunked.ts b/packages/parse5-parser-stream/test/utils/parse-chunked.ts index 99ec7708c..fd085e6be 100644 --- a/packages/parse5-parser-stream/test/utils/parse-chunked.ts +++ b/packages/parse5-parser-stream/test/utils/parse-chunked.ts @@ -17,7 +17,7 @@ export function parseChunked( for (let i = 0; i < chunks.length - 1; i++) { if (typeof chunks[i] !== 'string') { - throw new TypeError('Expected string'); + throw new TypeError('Expected chunk to be a string'); } parserStream.write(chunks[i]); }