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

kriasoft / universal-router / 159 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2016 09:29AM UTC
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

14 Oct 2016 09:27AM UTC coverage: 100.0%. Remained the same
159.1

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
}
```

52 of 52 relevant lines covered (100.0%)

27.4 hits per line

Source Files on job 159.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 159
  • Travis Job 159.1
  • 4f69c628 on github
  • Prev Job for on master (#158.1)
  • Next Job for on master (#166.1)
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