Skip to content

Conversation

@sipayRT
Copy link
Member

@sipayRT sipayRT commented Oct 7, 2025

No description provided.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 7, 2025

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1145

commit: 8fc018f

Comment on lines +21 to +22
// Удаляем стектрейс про EPIPE, который не нужен пользователю
delete this.stack;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By deleting "stack" property you are producing invalid Error object:

Specs: https://nodejs.org/api/errors.html#errorstack

If you want to override stack, make it comply node.js stacktraces:

The first line is formatted as : , and is followed by a series of stack frames (each line beginning with "at ").

So, we could overwrite it with SingleTestModeError: ${message}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but in that case the message will be duplicated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it doesn't lead to an error, its fine, i guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants