refactor: use functionality from commons package #22
Conversation
* add @sinonjs/commons * use functionName method * use typeOf for array identification
This is for a refactoring in formatio to use the provided isSet method from samsam See: sinonjs/formatio#22
Pull Request Test Coverage Report for Build 87
💛 - Coveralls |
Think it would make sense to replace this condition with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This is for a refactoring in formatio to use the provided isSet method from samsam See: sinonjs/formatio#22
Thanks @mantoni I will create another PR to use the |
@mgred Let me know if you want me to cut releases. I don’t know if you can do them yourself? |
Hey @mantoni I can't. Would be nice if you can get this into the wild 👍 |
@mantoni did you make a release of this? |
Ah, I think I did one for samsam and I understood that there is more work coming with an additional PR before this should be released. @mgred ? |
Yes this is realeased in sinonjs/samsam#58. The method is already in use since #23 landed, so I think we're good to go with a release. |
Purpose (TL;DR) - mandatory
@sinonjs/commons
functionName
method with implementation from@sinonjs/commons
typeOf
for array identificationHow to verify - mandatory
npm install
npm test
Checklist for author
npm run lint
passes