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

Use a nicer list reporter locally #356

Merged
merged 1 commit into from
May 10, 2024

Conversation

Andarist
Copy link
Contributor

This addresses the complaint from #348 (comment) . I didn't realize that the default is 'list' locally, I added 'line' reporter since I've seen that being used in a couple of other projects. I totally agree that 'list' is quite nice and I prefer it to 'line' - especially if we consider smaller test suites.

⚠️ @replayio/playwright still spits out a bunch of junk into the stdout. That makes the current output very cluttered - even with this improvement. This is going to be addressed with PRO-315

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-resizable-panels ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 11:49am

: undefined,
// replicating Playwright's defaults
process.env.CI ? (["dot"] as const) : (["list"] as const),
].filter((v): v is NonNullable<typeof v> => !!v),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

with the upcoming TS 5.5 you will be able to rewrite this as:

Suggested change
].filter((v): v is NonNullable<typeof v> => !!v),
].filter(v => !!v),

Copy link
Owner

Choose a reason for hiding this comment

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

Nice

@bvaughn bvaughn merged commit e786040 into bvaughn:replayio May 10, 2024
7 checks passed
@Andarist Andarist deleted the improve-reporter-configs branch May 10, 2024 12:36
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.

2 participants