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

kriasoft / universal-router / 159
100%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2016 09:29AM UTC
Jobs 1
Files 4
Run time 0s
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
159

push

travis-ci

koistya
Remove errors handler from core (#48)

To handle the 404, add such route to the end:
```js
const routes = [
  // your routes here
  { path: '*', action() { return 'Page not found' } }
]
```

To handle any other errors, use try catch:
```js
try {
  await UniversalRouter.resolve(routes, '/path')
} catch (error) {
  // handle an error
}
```

1 of 1 new or added line in 1 file covered. (100.0%)

52 of 52 relevant lines covered (100.0%)

27.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 159.1 14 Oct 2016 09:29AM UTC 0
100.0
Travis Job 159.1
Source Files on build 159
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #159
  • 4f69c628 on github
  • Prev Build on master (#158)
  • Next Build on master (#166)
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