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

mozilla / blurts-server / 437d2048-4599-4ff2-bd1c-0c0828a293e1

pending completion
437d2048-4599-4ff2-bd1c-0c0828a293e1

push

circleci

GitHub
Merge pull request #2729 from mozilla/localization

278 of 1070 branches covered (25.98%)

Branch coverage included in aggregate %.

948 of 2889 relevant lines covered (32.81%)

5.26 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