• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ReactiveX / rxjs / 3455 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2016 05:38PM UTC
Files 341
Run time 29s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Aug 2016 05:33PM UTC coverage: 97.115%. Remained the same
3455.1

push

travis-ci

jayphelps
fix(AjaxObservable): return null value from JSON.Parse (#1904)

* Return null value from JSON.Parse

JSON.parse('') will throw a syntax error (in any browser). Fix is to return a null value. I saw this when my server returned HTTP 204 No Content.

* added ajax tests for 204 No Content

* mock the behavior of IE
unit test for IE

* pascal case class name.
added missing semicolon.

* Use 'null' instead of '' for JSON.parse

* remove empty constructor

* fix(AjaxObservable): return null value from JSON.Parse

JSON.parse('') will throw a syntax error (in any browser). Fix is to return a null value.
This happens during an HTTP 204 'No Content' in IE.
Added a mock for InternetExplorer. Added unit tests for HTTP 204.

closes #1381

6497 of 6690 relevant lines covered (97.12%)

610.82 hits per line

Source Files on job 3455.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 1
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3455
  • Travis Job 3455.1
  • 6ba374e5 on github
  • Prev Job for on master (#3451.1)
  • Next Job for on master (#3457.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc