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

strongloop / loopback-next / 1474
76%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2017 11:34AM UTC
Jobs 2
Files 57
Run time 34s
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
1474

push

travis-ci

web-flow
Add app.route() API for controller-based routes (#443)

* core: add app.route for controllers

```ts
app.route('get', '/greet', spec, MyController, 'greet');
```

* code cleanup

Simplify ControllerRoute to always accept controller constructor.

Rework older code to pass controller constructor instead of a binding
key to ControllerRoute (and all APIs relying on that).

Move router-related unit tests into test/unit/router folder for
consistency.

Get rid of generics in controller-related APIs, use `Constructor<any>`

Clean up app.route() to allow TypeScript to detect when an optional
parameter is always set.

409 of 467 branches covered (87.58%)

Branch coverage included in aggregate %.

1165 of 1230 relevant lines covered (94.72%)

97.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1474.1 18 Jul 2017 11:34AM UTC 0
92.75
Travis Job 1474.1
2 1474.2 18 Jul 2017 11:34AM UTC 0
92.75
Travis Job 1474.2
Source Files on build 1474
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1474
  • 2ee4b897 on github
  • Prev Build on master (#1467)
  • Next Build on master (#1485)
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