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

usehenri / henri / 120 / 1
90%
master: 67%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/packages/testing/ws-7.4.6
DEFAULT BRANCH: master
Ran 17 Nov 2017 09:15PM UTC
Files 13
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

17 Nov 2017 09:12PM UTC coverage: 90.107%. Remained the same
120.1

push

travis-ci

reel
feat(user): add roles support (mongoose)

On any given user object, you can use:
`await user.hasRole('someRole');`
or a combination that should match all:
`await user.hasRole(['someRole', 'admin']);`

It returns `true` or `false`

Also, you can configure the base role for new users with `baseRole: 'guest'`

81 of 102 branches covered (79.41%)

Branch coverage included in aggregate %.

256 of 272 relevant lines covered (94.12%)

3.49 hits per line

Source Files on job 120.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 120
  • Travis Job 120.1
  • 1f86631e on github
  • Prev Job for on roles (#119.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