• 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

44.76
/src/plugins/generic/fileTypes.js
1
'use strict';
2

3
var mimeToFileTypes = {'application/msword': 'MicrosoftWordDocument',
2!
4
    'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'MicrosoftWordDocument',
5
    'application/vnd.ms-excel': 'MicrosoftExcelDocument',
2✔
6
    'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'MicrosoftExcelDocument',
7
    'application/vnd.ms-powerpoint': 'MicrosoftPowerpointDocument',
8
    'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'MicrosoftPowerpointDocument',
9
    'application/postscript': 'PostscriptFile',
10
    'application/rtf': 'RichTextFormatFile',
11
    'application/x-tex': 'TeXFile',
12
    'application/x-texinfo': 'TexinfoFile',
13
    'application/x-troff': 'TroffFile',
14
    'audio/mp3': 'MP3AudioFile',
15
    'audio/mp4': 'MP4AudioFile',
16
    'audio/basic': 'BasicAudioFile',
17
    'audio/x-aiff': 'AIFFAudioFile',
18
    'audio/x-wav': 'WavAudioFile',
19
    'image/bmp': 'BMPImage',
20
    'image/gif': 'GifImage',
21
    'image/ief': 'IEFImage',
22
    'image/x-icon': 'IconImage',
23
    'image/jpeg': 'JpegImage',
24
    'image/png': 'PNGImage',
25
    'image/svg+xml': 'SVGImageFile',
26
    'application/x-shockwave-flash': 'FlashFile',
27
    'image/tiff': 'TIFFImage',
28
    'image/x-xwindowdump': 'ScreenshotFile',
29
    'text/html': 'HTMLFile',
30
    'text/plain': 'PlainTextFile',
31
    'video/mpeg': 'MpegVideoFile',
32
    'video/ogg': 'OggVideoFile',
33
    'video/webm': 'WebMVideoFile',
34
    'video/x-flv': 'FlashVideoFile',
35
    'video/mp4': 'MP4VideoFile',
36
    'video/x-matroska': 'MatroskaVideoFile',
37
    'video/quicktime': 'QuicktimeVideoFile',
38
    'video/x-msvideo': 'MSVideoFile',
39
    'video/x-sgi-movie': 'MovieFile',
40
    'application/pdf': 'PDFFile',
41
    'application/zip': 'ZipFile',
42
    'text/css': 'CSSFile',
43
    'text/xml': 'XMLFile',
44
    'application/octet-stream': 'BinaryFile'
45
};
46

47
module.exports = mimeToFileTypes;
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