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

MediaComem / biopocket-mobile / 147
87%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v1.0.0
DEFAULT BRANCH: master
Ran 04 May 2018 10:46AM UTC
Jobs 1
Files 20
Run time 1s
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

pending completion
147

push

travis-ci

AlphaHydrae
Replace legacy Http provider with HttpClient

Automated tests have had to be updated to the new way of mocking
requests, i.e. using `HttpClientTestingModule` and
`HttpTestingController`.

Formerly, `ApiService` was mostly a utility provider used by other
providers. Now, it's a provider like the others. The generic
functionality it managed (prepending the backend URL to request paths)
is now managed in the new `ApiInterceptorProvider`. Authentication
through the `Authorization` header will later be handled there as well.

Note that unit tests have also been made "more unitary":

* Unit tests for providers should mock HTTP responses, as HTTP calls are
  made in their implementation.
* Unit tests for components should NOT mock HTTP responses, as the calls
  are made in the services. The services themselves should be mocked
  instead. There should be no reason to mock HTTP responses in most (if
  not all) component tests.

The `ng-request-builder` dependency has been removed as it has been made
obsolete by the simpler interface of the new `HttpClient` provider.

An unrelated modification is that the `Geometry` submodel of the
`Location` model was modified to NOT reverse the longitude/latitude
coordinates provided by the API. Since `Geometry` has the same structure
as a GeoJSON point, it's counter-intuitive to not order the coordinates
in the same way. The reversal is done when creating the Leaflet markers
instead, since they use the latitude/longitude order.

Task: TG-107

19 of 32 branches covered (59.38%)

Branch coverage included in aggregate %.

189 of 207 relevant lines covered (91.3%)

4.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 147.1 (IONIC_E2E_DEBUG=1 IONIC_E2E_STANDALONE_TIMEOUT=60000 IONIC_ENV=test NODE_ENV=test SESSION_SECRET=secret) 04 May 2018 10:46AM UTC 0
87.03
Travis Job 147.1
Source Files on build 147
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #147
  • 0923f90c on github
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