JamieMason / karma-nested-reporter

Easy to read test output with nested describe and it blocks

Home Page:https://www.npmjs.com/package/karma-nested-reporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format JSON in unmet expectations

JamieMason opened this issue · comments

Look into possibility of formatting JSON such as

Expected [ { id : 1, headline : { full : 'headline' }, snippet : 'a snippet' }, { id : 1, headline : { full : 'headline' }, snippet : 'a snippet' }, { id : 1, headline : { full : 'headline' }, snippet : 'a snippet' } ] to be array of size 0.

So it appears like so

Expected [{
  id: 1,
  headline: {
    full: 'headline'
  },
  snippet: 'a snippet'
}, {
  id: 1,
  headline: {
    full: 'headline'
  },
  snippet: 'a snippet'
}, {
  id: 1,
  headline: {
    full: 'headline'
  },
  snippet: 'a snippet'
}] to be array of size 0.

This would be nice 👍