Pretty print json unit test error results with Jasmine

0 Comments

      If you use the standard HTML reporter for jasmine an expect like: expect(JSON.stringify(actual)).toEqual(JSON.stringify(expected)); would result in:   If you replace the div tag with a pre tag in the “jasmine-html.js” file.