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

mozilla / blurts-server / 8737b902-28b0-43db-bccc-d31d123e8d89

pending completion
8737b902-28b0-43db-bccc-d31d123e8d89

Pull #2996

circleci

Florian Zia
chore: Add lib to .eslintignore
Pull Request #2996: MNTOR-1130: Animations preview

282 of 6859 branches covered (4.11%)

Branch coverage included in aggregate %.

28 of 28 new or added lines in 5 files covered. (100.0%)

959 of 4539 relevant lines covered (21.13%)

3.52 hits per line

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

0.0
/src/controllers/animationPreview.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 { generateToken } from '../utils/csrf.js'
7
import { animationPreview } from '../views/partials/animationPreview.js'
8

9
function animationPreviewPage (req, res) {
10
  const data = {
×
11
    partial: animationPreview,
12
    csrfToken: generateToken(res),
13
    animations: [
14
      {
15
        name: 'Circles',
16
        filename: 'lottie-test-circles.json'
17
      },
18
      {
19
        name: 'Shapes',
20
        filename: 'lottie-test-shapes.json'
21
      }
22
    ]
23
  }
24

25
  res.send(guestLayout(data))
×
26
}
27

28
export { animationPreviewPage }
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