3 ms·
Do you also copy/paste the tests? https://github.com/then/is-promise/blob/master/test.js https://github.com/then/is-promise/blob/master/test.js . Just curious,
by gramakri 6y ago
Do you also copy/paste the tests? https://github.com/then/is-promise/blob/master/test.js https://github.com/then/is-promise/blob/master/test.js . Just curious, sometimes it's really not just about the code but that it's continuously tested as well.
- SahAssar 6y agoWhen would the actual function body need to change in this case? These micropackages almost never break because of the actual implementation, they break because they are unpublished (like left-pad) or because they change how they are exported (like in this case). If the code is in your codebase it does not need a test.