diff --git a/packages/vitest/src/node/error.ts b/packages/vitest/src/node/error.ts index 610838dcb1d2..d099bc482bb9 100644 --- a/packages/vitest/src/node/error.ts +++ b/packages/vitest/src/node/error.ts @@ -290,7 +290,7 @@ export function generateCodeFrame( const lineLength = lines[j].length - // to long, maybe it's a minified file, skip for codeframe + // too long, maybe it's a minified file, skip for codeframe if (stripAnsi(lines[j]).length > 200) return ''