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

Brightspace / react-valence-ui-fileviewer / 7111280825

06 Dec 2023 07:04AM CUT coverage: 56.35% (-32.8%) from 89.198%
7111280825

push

github

web-flow
Merge pull request #114 from Brightspace/venkata/node-sass-update-2

adding npm i in release.yml

604 of 1444 branches covered (0.0%)

1624 of 2882 relevant lines covered (56.35%)

11.45 hits per line

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

60.34
/src/plugins/pdf/native/native.js
1
'use strict';
2

3
var React = require('react'), // eslint-disable-line no-unused-vars
8!
4
        NativeViewer = require('react-valence-ui-iframe'),
5
        supportsNativePdf = require('./supportsNativePdf.js');
2✔
6

7
var plugin = {
2✔
8
        getComponent: function(props) {
2✔
9
                return <NativeViewer {...props} />;
10
        },
2✔
11
        test: function(mimeType) {
12
                if (mimeType !== 'application/pdf') {
2✔
13
                        return false;
14
                }
15
                var result = supportsNativePdf();
6✔
16
                return result;
2✔
17
        }
18
};
4✔
19

4✔
20
module.exports = plugin;
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