sinonjs / formatio

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

add support for formatting maps #51

Closed mgred closed 5 years ago

mgred commented 5 years ago

Purpose (TL;DR) - mandatory

This PR adds support for formatting Map.

❗️ This waits for sinonjs/samsam#124 to use samsam.isMap in https://github.com/sinonjs/formatio/pull/51/files#diff-f62046d6a7ef22f4caadca5534824f25R119

How to verify - mandatory

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

Checklist for author

codecov[bot] commented 5 years ago

Codecov Report

Merging #51 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #51   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         124    128    +4     
=====================================
+ Hits          124    128    +4
Flag Coverage Δ
#unit 100% <100%> (ø) :arrow_up:
Impacted Files Coverage Δ
lib/formatio.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f3032ff...578fa60. Read the comment docs.

mgred commented 5 years ago

Thanks a lot @mroderick 👍