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

mozilla / blurts-server / #12723

pending completion
#12723

push

circleci

web-flow
Merge pull request #2898 from mozilla/404-statusCode

Actually mark a 404 page as a 404

282 of 1389 branches covered (20.3%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

959 of 3848 relevant lines covered (24.92%)

2.07 hits per line

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

0.0
/src/controllers/notFound.js
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4

5
import { guestLayout } from '../views/guestLayout.js'
6
import { notFound } from '../views/partials/notFound.js'
7

8
function notFoundPage (req, res) {
9
  const data = {
×
10
    partial: notFound,
11
    nonce: res.locals.nonce
12
  }
13

14
  res.status(404).send(guestLayout(data))
×
15
}
16

17
export { notFoundPage }
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