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

metalabdesign / http-middleware-metalab / 252 / 2
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: midori
DEFAULT BRANCH: master
Ran 28 Oct 2016 04:07AM UTC
Files 31
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

28 Oct 2016 04:04AM UTC coverage: 96.737% (+0.9%) from 95.804%
252.2

push

travis-ci

izaakschroeder
Add guard utility and header matching.

You can now match against headers! And existing match functionality for single-value properties (e.g. `method`) is more customizable. The generic `guard` that you now supply can take a string, regular expression, function or array for matching. It makes it possible to do things like:

```javascript
match(method(['GET', 'HEAD']), ...);
match(host([/\.*foo.com$/, 'bar.com']), ...);
```

415 of 429 relevant lines covered (96.74%)

3.95 hits per line

Source Files on job 252.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 252
  • Travis Job 252.2
  • 357411ca on github
  • Prev Job for on host-matching (#250.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

© 2025 Coveralls, Inc