sinonjs / formatio

The cheesy object formatter
https://sinonjs.github.io/formatio/
Other
36 stars 11 forks source link

refactor: use functionality from commons package #22

Closed mgred closed 5 years ago

mgred commented 5 years ago

Purpose (TL;DR) - mandatory

How to verify - mandatory

  1. Check out this branch
  2. npm install
  3. npm test

Checklist for author

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 87


Files with Coverage Reduction New Missed Lines %
formatio.js 11 82.13%
<!-- Total: 11 -->
Totals Coverage Status
Change from base Build 83: -0.3%
Covered Lines: 92
Relevant Lines: 110

πŸ’› - Coveralls
mgred commented 5 years ago

Think it would make sense to replace this condition with the isSet method from samsam and therefore created sinonjs/samsam#58 as well.

mgred commented 5 years ago

Thanks @mantoni

I will create another PR to use the isSet method which depends on the next samsam release anyways πŸš€

mantoni commented 5 years ago

@mgred Let me know if you want me to cut releases. I don’t know if you can do them yourself?

mgred commented 5 years ago

Hey @mantoni I can't. Would be nice if you can get this into the wild πŸ‘

mroderick commented 5 years ago

@mantoni did you make a release of this?

mantoni commented 5 years ago

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 ?

mgred commented 5 years ago

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.