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

Add tests for cache commands #2956

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

voxsim
Copy link
Contributor

@voxsim voxsim commented Mar 20, 2017

Summary/Test plan

As described in the title this commit add tests for cache commands.

const out = new stream.PassThrough();
const reporter = new reporters.ConsoleReporter({stdout: out});
await run(config, reporter, {}, ['ls']);
const stdout = String(out.read());
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it be easier and more reliable to use the JSON reporter and check its output?

@voxsim voxsim force-pushed the add-tests-for-cache-commands branch from a2885c9 to 799a8d7 Compare April 7, 2017 20:53
@voxsim voxsim force-pushed the add-tests-for-cache-commands branch from 799a8d7 to 1f80127 Compare April 9, 2017 09:23
@voxsim
Copy link
Contributor Author

voxsim commented Apr 9, 2017

@arcanis now I am using a JSON reporter and for what I see the broken tests are not related to my pull request

@arcanis arcanis merged commit cd58df8 into yarnpkg:master Apr 10, 2017
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