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

usehenri / henri / 120
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:14PM UTC
Jobs 2
Files 13
Run time 27s
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
120

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

6.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 120.1 17 Nov 2017 09:15PM UTC 0
90.11
Travis Job 120.1
2 120.2 17 Nov 2017 09:14PM UTC 0
90.11
Travis Job 120.2
Source Files on build 120
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #120
  • 1f86631e on github
  • Prev Build on roles (#119)
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