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

seriema / angular-apimock / 125
100%

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2015 08:47AM UTC
Jobs 1
Files 1
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
125

push

travis-ci

seriema
feat(delay): add network latency simulation

Closes #20.

Not super-happy with having to add `apiMock.getDelay()` in the service
because there’s no equivalent for any other config variables. But
without it I can’t set the correct delay in the response. The whole
separation between the service and interceptor could be improved. We
need a better way to have an interceptor for mocking requests, and yet
a service that client code can use.

Inspiration for implementation from here:
http://www.bennadel.com/blog/2802-simulating-network-latency-in-angularj
s-with-http-interceptors-and-timeout.htm

159 of 161 relevant lines covered (98.76%)

24.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 125.1 09 Aug 2015 08:47AM UTC 0
98.76
Travis Job 125.1
Source Files on build 125
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #125
  • 8b996d34 on github
  • Prev Build on master (#124)
  • Next Build on master (#126)
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