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

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

Build:
Build:
LAST BUILD BRANCH: midori
DEFAULT BRANCH: master
Ran 28 Oct 2016 04:06AM UTC
Jobs 3
Files 31
Run time 1min
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
252

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%)

11.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 252.1 28 Oct 2016 04:07AM UTC 0
96.61
Travis Job 252.1
2 252.2 28 Oct 2016 04:07AM UTC 0
96.74
Travis Job 252.2
3 252.3 28 Oct 2016 04:06AM UTC 0
96.74
Travis Job 252.3
Source Files on build 252
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #252
  • 357411ca on github
  • Prev Build on host-matching (#250)
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