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

Suggestion: Allow output to be cleared before each test run #14

Open
mramsden opened this issue Nov 12, 2018 · 0 comments
Open

Suggestion: Allow output to be cleared before each test run #14

mramsden opened this issue Nov 12, 2018 · 0 comments

Comments

@mramsden
Copy link

It would be great if there was a way to have the output clear between each test run. The problem that I have found I have is being able to distinguish between two test executions and have found myself looking at the output from an older run. This is particularly apparent on smaller screens.

I've managed to configure my VS Code so that I can run with two sets of keyboard shortcuts so that I can clear the output and then run my test suite using yarn test.

Looking at the extension API documentation it is possible to call OutputChannel#clear before running.

Hiding this behind a configuration option would allow existing users to maintain the current behaviour of this functionality while allowing others to opt-in to the behaviour. I have taken a look at the plugin source and have an idea of how it would be possible to implement. Would you be open to a PR for this feature?

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

No branches or pull requests

2 participants