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

feat: outputTruncateLength option #977

Merged
merged 1 commit into from Mar 19, 2022

Conversation

Aslemammad
Copy link
Member

Resolves #962

@netlify
Copy link

netlify bot commented Mar 18, 2022

✔️ Deploy Preview for vitest-dev ready!

🔨 Explore the source changes: 7587238

🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/6234a7f3fa5d3a0008907ff2

😎 Browse the preview: https://deploy-preview-977--vitest-dev.netlify.app

@Aslemammad Aslemammad requested a review from antfu March 18, 2022 15:40
@antfu antfu merged commit d3b4639 into vitest-dev:main Mar 19, 2022
@Dragomir-Ivanov
Copy link
Contributor

Thanks for your feature.
Looking at the commit it looks like that this is only length of the lines. I.e. more than 80 columns.
Is there any option to modify number of lines output. I have some big JSON structures to diff.

Thanks.

@Inviz
Copy link

Inviz commented Aug 15, 2022

I want to join to this, it is quite unusable with short diff atm @Aslemammad

@Inviz
Copy link

Inviz commented Aug 15, 2022

Oh there's an option now. This can work. However I think diff reporter is the weakest part of vitest experience atm.

@Aslemammad
Copy link
Member Author

@Inviz Feel free to create an issue that helps us with improving the diff reporter!

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.

Option to customize the maximum truncated output
4 participants