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

mozilla / blurts-server / e12065f2-5c0b-4697-b6a1-e1341a5d3c0b

pending completion
e12065f2-5c0b-4697-b6a1-e1341a5d3c0b

push

circleci

Vincent
Remove unused import

282 of 1373 branches covered (20.54%)

Branch coverage included in aggregate %.

959 of 3720 relevant lines covered (25.78%)

4.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/routes/hibp.js
1
'use strict'
2

3
const express = require('express')
×
4
const bodyParser = require('body-parser')
×
5

6
const bearerToken = require('express-bearer-token')
×
7

8
const { asyncMiddleware } = require('../middleware')
×
9
const { notify, breaches } = require('../controllers/hibp')
×
10

11
const router = express.Router()
×
12
const jsonParser = bodyParser.json()
×
13

14
router.use('/notify', bearerToken())
×
15
router.post('/notify', jsonParser, asyncMiddleware(notify))
×
16
router.get('/breaches', jsonParser, asyncMiddleware(breaches))
×
17

18
module.exports = router
×
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