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

strongloop / loopback-next / 3972 / 1
76%
master: 76%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2018 06:21PM UTC
Files 183
Run time 9s
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

23 Feb 2018 06:15PM UTC coverage: 96.174% (+0.02%) from 96.154%
3972.1

push

travis-ci

raymondfeng
fix(context): fix optional param injection for methods

The following function has length of 0 as the param has a default value:
```
hello(@inject('user', {optional: true}) user: string = 'Mary')
```

Before this fix, the injected value for `user` is not used. The PR uses
decorations to help decide the real number of params.

1071 of 1194 branches covered (89.7%)

Branch coverage included in aggregate %.

5792 of 5942 relevant lines covered (97.48%)

160.12 hits per line

Source Files on job 3972.1
  • Tree
  • List 0
  • Changed 13
  • Source Changed 3
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 3972.1
  • 801a82d4 on github
  • Prev Job for on master (#3963.2)
  • Next Job for on master (#3973.2)
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