microsoft / ado-npm-auth

This package can automatically use the azureauth CLI to fetch tokens and update a user's .npmrc file for authenticating to Azure DevOps npm feeds.
MIT License
9 stars 7 forks source link

Create Tests For getFeedWithoutProtocol #8

Closed Stuart-Wilcox closed 4 months ago

Stuart-Wilcox commented 4 months ago

I created a suite of tests for this pretty simple function as a way to firstly introduce the testing framework to this package, and secondly encourage further tests for more complex functions to follow.

Additionally, I did actually discover a limitation of the implementation through the tests and was able to fix it.

jcreamer898 commented 4 months ago

NIIIIIIICE!!! 😍