Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: strip ansi markup for error message #589

Merged
merged 1 commit into from
Aug 9, 2024
Merged

fix: strip ansi markup for error message #589

merged 1 commit into from
Aug 9, 2024

Conversation

sipayRT
Copy link
Member

@sipayRT sipayRT commented Aug 9, 2024

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

We don't need those awaits as far as I can tell... But of course they won't break nothing.

@@ -29,6 +29,10 @@ describe('failed describe', function() {
throw new Error('Some error');
});

it('failed test with ansi markup', async () => {
await expect({a: {b: 'c'}}).toMatchObject({c: {b: 'a'}});
Copy link
Member

Choose a reason for hiding this comment

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

Do we need await here?

Copy link
Member Author

Choose a reason for hiding this comment

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

actually no, but I added it for consistency

@sipayRT sipayRT merged commit 6b214cd into master Aug 9, 2024
4 checks passed
@sipayRT sipayRT deleted the sp.fix-ansi branch August 9, 2024 15:39
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.

4 participants