You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAICT, this is because npm.load() caches a loaded boolean and as such only its first execution here determines the config used in all the tests in this file. The other npm.load()s change nothing, so it seems to me like these tests aren't actually testing what they should be testing.
I spent some time this morning trying to work around this but I'm at a lost now :(
The text was updated successfully, but these errors were encountered:
Changing the input configs of two of
npm-defaults.js
tests do not make the test fail:AFAICT, this is because
npm.load()
caches aloaded
boolean and as such only its first execution here determines the config used in all the tests in this file. The othernpm.load()
s change nothing, so it seems to me like these tests aren't actually testing what they should be testing.I spent some time this morning trying to work around this but I'm at a lost now :(
The text was updated successfully, but these errors were encountered: