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 token tests #1853

Closed
wants to merge 5 commits into from
Closed

add token tests #1853

wants to merge 5 commits into from

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Sep 23, 2020

adds test coverage for the npm token command and fixes a couple of bugs along the way.

i'm not 100% sold on the approach i took with the mocks. i like the isolation, but it's definitely verbose. i'll probably take another pass at shortening that up in the near future. i didn't see a reason to wait on that to get the tests landed though so here we are.

@nlf nlf requested a review from a team as a code owner September 23, 2020 21:28
@nlf nlf force-pushed the nlf/add-token-tests branch from d809b20 to b170a85 Compare September 23, 2020 21:34
@darcyclarke darcyclarke added Release 7.x work is associated with a specific npm 7 release beta labels Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants