@pixwel/pixwel-sdk 2.1.34 → 2.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,14 +20,14 @@
20
20
  </h1>
21
21
  <div class='clearfix'>
22
22
  <div class='fl pad1y space-right2'>
23
- <span class="strong">50% </span>
23
+ <span class="strong">75% </span>
24
24
  <span class="quiet">Statements</span>
25
- <span class='fraction'>6/12</span>
25
+ <span class='fraction'>12/16</span>
26
26
  </div>
27
27
  <div class='fl pad1y space-right2'>
28
- <span class="strong">25% </span>
28
+ <span class="strong">66.67% </span>
29
29
  <span class="quiet">Branches</span>
30
- <span class='fraction'>2/8</span>
30
+ <span class='fraction'>8/12</span>
31
31
  </div>
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">100% </span>
@@ -35,9 +35,9 @@
35
35
  <span class='fraction'>3/3</span>
36
36
  </div>
37
37
  <div class='fl pad1y space-right2'>
38
- <span class="strong">50% </span>
38
+ <span class="strong">75% </span>
39
39
  <span class="quiet">Lines</span>
40
- <span class='fraction'>6/12</span>
40
+ <span class='fraction'>12/16</span>
41
41
  </div>
42
42
  </div>
43
43
  </div>
@@ -84,12 +84,18 @@
84
84
  39
85
85
  40
86
86
  41
87
- 42</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
87
+ 42
88
+ 43
89
+ 44
90
+ 45
91
+ 46
92
+ 47
93
+ 48</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
88
94
  <span class="cline-any cline-neutral">&nbsp;</span>
89
95
  <span class="cline-any cline-neutral">&nbsp;</span>
90
96
  <span class="cline-any cline-neutral">&nbsp;</span>
91
97
  <span class="cline-any cline-neutral">&nbsp;</span>
92
- <span class="cline-any cline-yes">11x</span>
98
+ <span class="cline-any cline-yes">4x</span>
93
99
  <span class="cline-any cline-neutral">&nbsp;</span>
94
100
  <span class="cline-any cline-neutral">&nbsp;</span>
95
101
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -98,32 +104,38 @@
98
104
  <span class="cline-any cline-neutral">&nbsp;</span>
99
105
  <span class="cline-any cline-neutral">&nbsp;</span>
100
106
  <span class="cline-any cline-neutral">&nbsp;</span>
101
- <span class="cline-any cline-yes">11x</span>
107
+ <span class="cline-any cline-yes">4x</span>
102
108
  <span class="cline-any cline-neutral">&nbsp;</span>
103
109
  <span class="cline-any cline-neutral">&nbsp;</span>
104
110
  <span class="cline-any cline-neutral">&nbsp;</span>
105
111
  <span class="cline-any cline-neutral">&nbsp;</span>
106
112
  <span class="cline-any cline-neutral">&nbsp;</span>
107
- <span class="cline-any cline-yes">22x</span>
108
- <span class="cline-any cline-yes">22x</span>
109
- <span class="cline-any cline-neutral">&nbsp;</span>
110
- <span class="cline-any cline-no">&nbsp;</span>
113
+ <span class="cline-any cline-yes">2x</span>
111
114
  <span class="cline-any cline-no">&nbsp;</span>
112
115
  <span class="cline-any cline-neutral">&nbsp;</span>
113
- <span class="cline-any cline-no">&nbsp;</span>
116
+ <span class="cline-any cline-yes">2x</span>
114
117
  <span class="cline-any cline-no">&nbsp;</span>
115
118
  <span class="cline-any cline-neutral">&nbsp;</span>
119
+ <span class="cline-any cline-yes">2x</span>
120
+ <span class="cline-any cline-yes">1x</span>
121
+ <span class="cline-any cline-neutral">&nbsp;</span>
122
+ <span class="cline-any cline-yes">1x</span>
116
123
  <span class="cline-any cline-no">&nbsp;</span>
117
124
  <span class="cline-any cline-neutral">&nbsp;</span>
125
+ <span class="cline-any cline-yes">1x</span>
118
126
  <span class="cline-any cline-neutral">&nbsp;</span>
119
127
  <span class="cline-any cline-neutral">&nbsp;</span>
120
128
  <span class="cline-any cline-neutral">&nbsp;</span>
121
129
  <span class="cline-any cline-neutral">&nbsp;</span>
122
- <span class="cline-any cline-yes">33x</span>
123
- <span class="cline-any cline-yes">33x</span>
124
130
  <span class="cline-any cline-neutral">&nbsp;</span>
131
+ <span class="cline-any cline-yes">2x</span>
125
132
  <span class="cline-any cline-no">&nbsp;</span>
126
133
  <span class="cline-any cline-neutral">&nbsp;</span>
134
+ <span class="cline-any cline-yes">2x</span>
135
+ <span class="cline-any cline-yes">1x</span>
136
+ <span class="cline-any cline-neutral">&nbsp;</span>
137
+ <span class="cline-any cline-yes">1x</span>
138
+ <span class="cline-any cline-neutral">&nbsp;</span>
127
139
  <span class="cline-any cline-neutral">&nbsp;</span>
128
140
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import _ from "lodash";
129
141
  import Filename from "./Filename.js";
@@ -145,25 +157,31 @@ export default class Order {
145
157
  * Determines if an order should be classified as 'dubbed' based on its dng values
146
158
  */
147
159
  isDub() {
148
- <span class="missing-if-branch" title="else path not taken" >E</span>if (!this.dng) {
149
- return null;
160
+ <span class="missing-if-branch" title="if path not taken" >I</span>if (!this.dng) {
161
+ <span class="cstat-no" title="statement not covered" > return null;</span>
150
162
  }
151
- <span class="cstat-no" title="statement not covered" > if (this.dng.dialogue.includes("Dedicated / Localized")) {</span>
152
- <span class="cstat-no" title="statement not covered" > return true;</span>
163
+ <span class="missing-if-branch" title="if path not taken" >I</span>if (typeof this.dng !== 'object') {
164
+ <span class="cstat-no" title="statement not covered" > return false;</span>
153
165
  }
154
- <span class="cstat-no" title="statement not covered" > if (this.dng.narration.includes("Dedicated / Localized")) {</span>
166
+ if (this.dng.dialogue.includes("Dedicated / Localized")) {
167
+ return true;
168
+ }
169
+ <span class="missing-if-branch" title="if path not taken" >I</span>if (this.dng.narration.includes("Dedicated / Localized")) {
155
170
  <span class="cstat-no" title="statement not covered" > return true;</span>
156
171
  }
157
- <span class="cstat-no" title="statement not covered" > return false;</span>
172
+ return false;
158
173
  }
159
174
  /**
160
175
  * Determines in an order should be classified as 'subbed' based on its dng values
161
176
  */
162
177
  isSub() {
163
- <span class="missing-if-branch" title="else path not taken" >E</span>if (!this.dng) {
164
- return null;
178
+ <span class="missing-if-branch" title="if path not taken" >I</span>if (!this.dng) {
179
+ <span class="cstat-no" title="statement not covered" > return null;</span>
180
+ }
181
+ if (this.dng === 'Subtitled') {
182
+ return true;
165
183
  }
166
- <span class="cstat-no" title="statement not covered" > return _.flattenDeep(Object.entries(this.dng)).includes("Subtitled");</span>
184
+ return _.flattenDeep(Object.entries(this.dng)).includes("Subtitled");
167
185
  }
168
186
  }
169
187
  &nbsp;</pre></td></tr>
@@ -172,7 +190,7 @@ export default class Order {
172
190
  </div><!-- /wrapper -->
173
191
  <div class='footer quiet pad2 space-top1 center small'>
174
192
  Code coverage
175
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:04:02 GMT-0600 (Central Standard Time)
193
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:25:59 GMT-0600 (Central Standard Time)
176
194
  </div>
177
195
  </div>
178
196
  <script src="prettify.js"></script>
@@ -313,7 +313,7 @@ export default {
313
313
  </div><!-- /wrapper -->
314
314
  <div class='footer quiet pad2 space-top1 center small'>
315
315
  Code coverage
316
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:04:02 GMT-0600 (Central Standard Time)
316
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:25:59 GMT-0600 (Central Standard Time)
317
317
  </div>
318
318
  </div>
319
319
  <script src="prettify.js"></script>
@@ -157,7 +157,7 @@
157
157
  </div><!-- /wrapper -->
158
158
  <div class='footer quiet pad2 space-top1 center small'>
159
159
  Code coverage
160
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:04:02 GMT-0600 (Central Standard Time)
160
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:25:59 GMT-0600 (Central Standard Time)
161
161
  </div>
162
162
  </div>
163
163
  <script src="prettify.js"></script>
@@ -22,22 +22,22 @@
22
22
  <div class='fl pad1y space-right2'>
23
23
  <span class="strong">0% </span>
24
24
  <span class="quiet">Statements</span>
25
- <span class='fraction'>0/3</span>
25
+ <span class='fraction'>0/4</span>
26
26
  </div>
27
27
  <div class='fl pad1y space-right2'>
28
- <span class="strong">100% </span>
28
+ <span class="strong">0% </span>
29
29
  <span class="quiet">Branches</span>
30
- <span class='fraction'>0/0</span>
30
+ <span class='fraction'>0/2</span>
31
31
  </div>
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Functions</span>
35
- <span class='fraction'>0/2</span>
35
+ <span class='fraction'>0/1</span>
36
36
  </div>
37
37
  <div class='fl pad1y space-right2'>
38
38
  <span class="strong">0% </span>
39
39
  <span class="quiet">Lines</span>
40
- <span class='fraction'>0/3</span>
40
+ <span class='fraction'>0/4</span>
41
41
  </div>
42
42
  </div>
43
43
  </div>
@@ -54,25 +54,25 @@
54
54
  9
55
55
  10
56
56
  11
57
- 12</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
58
- <span class="cline-any cline-neutral">&nbsp;</span>
57
+ 12</td><td class="line-coverage quiet"><span class="cline-any cline-no">&nbsp;</span>
59
58
  <span class="cline-any cline-neutral">&nbsp;</span>
60
59
  <span class="cline-any cline-neutral">&nbsp;</span>
61
60
  <span class="cline-any cline-no">&nbsp;</span>
61
+ <span class="cline-any cline-neutral">&nbsp;</span>
62
62
  <span class="cline-any cline-no">&nbsp;</span>
63
63
  <span class="cline-any cline-neutral">&nbsp;</span>
64
64
  <span class="cline-any cline-neutral">&nbsp;</span>
65
65
  <span class="cline-any cline-no">&nbsp;</span>
66
66
  <span class="cline-any cline-neutral">&nbsp;</span>
67
67
  <span class="cline-any cline-neutral">&nbsp;</span>
68
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import Model from "./Model";
68
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js"><span class="cstat-no" title="statement not covered" >import Model from "./Model";</span>
69
69
  &nbsp;
70
70
  export default class Tag extends Model {
71
- <span class="fstat-no" title="function not covered" > co</span>nstructor(data) {
72
- <span class="cstat-no" title="statement not covered" > super(data);</span>
71
+ <span class="fstat-no" title="function not covered" > constructor(</span>data) <span class="cstat-no" title="statement not covered" >{</span>
72
+ super(data);
73
73
  <span class="cstat-no" title="statement not covered" > this._resource = 'tags';</span>
74
74
  }
75
- <span class="fstat-no" title="function not covered" > st</span>atic get _resource() {
75
+ static get _resource() {
76
76
  <span class="cstat-no" title="statement not covered" > return 'tags';</span>
77
77
  }
78
78
  }
@@ -82,7 +82,7 @@ export default class Tag extends Model {
82
82
  </div><!-- /wrapper -->
83
83
  <div class='footer quiet pad2 space-top1 center small'>
84
84
  Code coverage
85
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:04:02 GMT-0600 (Central Standard Time)
85
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:25:59 GMT-0600 (Central Standard Time)
86
86
  </div>
87
87
  </div>
88
88
  <script src="prettify.js"></script>
@@ -20,9 +20,9 @@
20
20
  </h1>
21
21
  <div class='clearfix'>
22
22
  <div class='fl pad1y space-right2'>
23
- <span class="strong">4.35% </span>
23
+ <span class="strong">0% </span>
24
24
  <span class="quiet">Statements</span>
25
- <span class='fraction'>1/23</span>
25
+ <span class='fraction'>0/23</span>
26
26
  </div>
27
27
  <div class='fl pad1y space-right2'>
28
28
  <span class="strong">0% </span>
@@ -35,9 +35,9 @@
35
35
  <span class='fraction'>0/7</span>
36
36
  </div>
37
37
  <div class='fl pad1y space-right2'>
38
- <span class="strong">4.35% </span>
38
+ <span class="strong">0% </span>
39
39
  <span class="quiet">Lines</span>
40
- <span class='fraction'>1/23</span>
40
+ <span class='fraction'>0/23</span>
41
41
  </div>
42
42
  </div>
43
43
  </div>
@@ -90,7 +90,7 @@
90
90
  45
91
91
  46
92
92
  47
93
- 48</td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
93
+ 48</td><td class="line-coverage quiet"><span class="cline-any cline-no">&nbsp;</span>
94
94
  <span class="cline-any cline-neutral">&nbsp;</span>
95
95
  <span class="cline-any cline-neutral">&nbsp;</span>
96
96
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -137,13 +137,13 @@
137
137
  <span class="cline-any cline-no">&nbsp;</span>
138
138
  <span class="cline-any cline-no">&nbsp;</span>
139
139
  <span class="cline-any cline-neutral">&nbsp;</span>
140
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">var stringRegex = /^(\d+):(\d+):(\d+)[,|.](\d{2,3})?$/;
140
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">var stringRegex = <span class="cstat-no" title="statement not covered" >/^(\d+):(\d+):(\d+)[,|.](\d{2,3})?$/;</span>
141
141
  &nbsp;
142
142
  export default {
143
- isValidTime: <span class="fstat-no" title="function not covered" >fu</span>nction(time) {
143
+ isValidTime: <span class="fstat-no" title="function not covered" >function(</span>time) {
144
144
  <span class="cstat-no" title="statement not covered" > return !!time.match(stringRegex);</span>
145
145
  },
146
- timeToTimestamp: <span class="fstat-no" title="function not covered" >fu</span>nction(time) {
146
+ timeToTimestamp: <span class="fstat-no" title="function not covered" >function(</span>time) {
147
147
  var match = <span class="cstat-no" title="statement not covered" >time.match(stringRegex);</span>
148
148
  <span class="cstat-no" title="statement not covered" > if (!match) {</span>
149
149
  <span class="cstat-no" title="statement not covered" > return 0;</span>
@@ -156,31 +156,31 @@ export default {
156
156
  (parseInt(match[4], 10) / precision)
157
157
  );
158
158
  },
159
- timestampToTime: <span class="fstat-no" title="function not covered" >fu</span>nction(second, decimalMark) {
159
+ timestampToTime: <span class="fstat-no" title="function not covered" >function(</span>second, decimalMark) {
160
160
  var hours = <span class="cstat-no" title="statement not covered" >~~(second / 3600);</span>
161
161
  var min = <span class="cstat-no" title="statement not covered" >~~(second / 60) % 60;</span>
162
162
  var sec = <span class="cstat-no" title="statement not covered" >second % 60;</span>
163
163
  var fixedSec = <span class="cstat-no" title="statement not covered" >sec.toFixed(3).replace('.', decimalMark ? decimalMark : ',');</span>
164
164
  <span class="cstat-no" title="statement not covered" > return (hours &lt; 10 ? '0' + hours : hours) + ":" + (min &lt; 10 ? '0' + min : min) + ':' + (sec &lt; 10 ? '0' + fixedSec : fixedSec);</span>
165
165
  },
166
- timeDiff: <span class="fstat-no" title="function not covered" >fu</span>nction(time1, time2) {
166
+ timeDiff: <span class="fstat-no" title="function not covered" >function(</span>time1, time2) {
167
167
  <span class="cstat-no" title="statement not covered" > if (time1 === undefined || time2 === undefined) {</span>
168
168
  <span class="cstat-no" title="statement not covered" > return 0;</span>
169
169
  }
170
170
  <span class="cstat-no" title="statement not covered" > return this.timestampDiff(this.timeToTimestamp(time1), this.timeToTimestamp(time2));</span>
171
171
  },
172
- timestampDiff: <span class="fstat-no" title="function not covered" >fu</span>nction(time1, time2) {
172
+ timestampDiff: <span class="fstat-no" title="function not covered" >function(</span>time1, time2) {
173
173
  <span class="cstat-no" title="statement not covered" > if (time1 === undefined || time2 === undefined || time1 === time2) {</span>
174
174
  <span class="cstat-no" title="statement not covered" > return 0;</span>
175
175
  }
176
176
  var diff = <span class="cstat-no" title="statement not covered" >time2 - time1;</span>
177
177
  <span class="cstat-no" title="statement not covered" > return Math.round(Math.max(-1, Math.min(1, diff)) * 10) / 10;</span>
178
178
  },
179
- startTime: <span class="fstat-no" title="function not covered" >fu</span>nction(line) {
179
+ startTime: <span class="fstat-no" title="function not covered" >function(</span>line) {
180
180
  var timestamp = <span class="cstat-no" title="statement not covered" >this.timeToTimestamp(line.startTime) + (line.inOffset || 0);</span>
181
181
  <span class="cstat-no" title="statement not covered" > return this.timestampToTime(timestamp);</span>
182
182
  },
183
- stopTime: <span class="fstat-no" title="function not covered" >fu</span>nction(line) {
183
+ stopTime: <span class="fstat-no" title="function not covered" >function(</span>line) {
184
184
  var timestamp = <span class="cstat-no" title="statement not covered" >this.timeToTimestamp(line.stopTime) + (line.outOffset || 0);</span>
185
185
  <span class="cstat-no" title="statement not covered" > return this.timestampToTime(timestamp);</span>
186
186
  }
@@ -190,7 +190,7 @@ export default {
190
190
  </div><!-- /wrapper -->
191
191
  <div class='footer quiet pad2 space-top1 center small'>
192
192
  Code coverage
193
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:04:02 GMT-0600 (Central Standard Time)
193
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:25:59 GMT-0600 (Central Standard Time)
194
194
  </div>
195
195
  </div>
196
196
  <script src="prettify.js"></script>
@@ -20,9 +20,9 @@
20
20
  </h1>
21
21
  <div class='clearfix'>
22
22
  <div class='fl pad1y space-right2'>
23
- <span class="strong">27.27% </span>
23
+ <span class="strong">0% </span>
24
24
  <span class="quiet">Statements</span>
25
- <span class='fraction'>3/11</span>
25
+ <span class='fraction'>0/11</span>
26
26
  </div>
27
27
  <div class='fl pad1y space-right2'>
28
28
  <span class="strong">0% </span>
@@ -35,9 +35,9 @@
35
35
  <span class='fraction'>0/3</span>
36
36
  </div>
37
37
  <div class='fl pad1y space-right2'>
38
- <span class="strong">27.27% </span>
38
+ <span class="strong">0% </span>
39
39
  <span class="quiet">Lines</span>
40
- <span class='fraction'>3/11</span>
40
+ <span class='fraction'>0/11</span>
41
41
  </div>
42
42
  </div>
43
43
  </div>
@@ -84,9 +84,9 @@
84
84
  39
85
85
  40
86
86
  41
87
- 42</td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
87
+ 42</td><td class="line-coverage quiet"><span class="cline-any cline-no">&nbsp;</span>
88
88
  <span class="cline-any cline-neutral">&nbsp;</span>
89
- <span class="cline-any cline-yes">1x</span>
89
+ <span class="cline-any cline-no">&nbsp;</span>
90
90
  <span class="cline-any cline-neutral">&nbsp;</span>
91
91
  <span class="cline-any cline-neutral">&nbsp;</span>
92
92
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -120,14 +120,14 @@
120
120
  <span class="cline-any cline-no">&nbsp;</span>
121
121
  <span class="cline-any cline-neutral">&nbsp;</span>
122
122
  <span class="cline-any cline-neutral">&nbsp;</span>
123
- <span class="cline-any cline-yes">1x</span>
123
+ <span class="cline-any cline-no">&nbsp;</span>
124
124
  <span class="cline-any cline-neutral">&nbsp;</span>
125
125
  <span class="cline-any cline-neutral">&nbsp;</span>
126
126
  <span class="cline-any cline-neutral">&nbsp;</span>
127
127
  <span class="cline-any cline-neutral">&nbsp;</span>
128
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const extname = require("path").extname;
128
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const extname = <span class="cstat-no" title="statement not covered" >require("path").extname;</span>
129
129
  &nbsp;
130
- const TYPES = {
130
+ const TYPES = <span class="cstat-no" title="statement not covered" >{</span>
131
131
  document: ["doc", "docx", "xls", "xlsx", "txt", "pdf", "ppt", "pptx"],
132
132
  &nbsp;
133
133
  video: ["mov", "mp4", "m4v", "mpg", "mxf"],
@@ -139,7 +139,7 @@ const TYPES = {
139
139
  zip: ["zip"]
140
140
  };
141
141
  &nbsp;
142
- function <span class="fstat-no" title="function not covered" >extensionType(</span>extension) {
142
+ function <span class="fstat-no" title="function not covered" >extensionType(extension) {</span>
143
143
  <span class="cstat-no" title="statement not covered" > for (var type in TYPES) {</span>
144
144
  <span class="cstat-no" title="statement not covered" > if (TYPES[type].indexOf(extension) &gt; -1) {</span>
145
145
  <span class="cstat-no" title="statement not covered" > return type;</span>
@@ -147,11 +147,11 @@ function <span class="fstat-no" title="function not covered" >extensionType(</sp
147
147
  }
148
148
  }
149
149
  &nbsp;
150
- function <span class="fstat-no" title="function not covered" >extension(</span>path) {
150
+ function <span class="fstat-no" title="function not covered" >extension(path) {</span>
151
151
  <span class="cstat-no" title="statement not covered" > return extname(path.split("?")[0].toLowerCase()).substring(1);</span>
152
152
  }
153
153
  &nbsp;
154
- function <span class="fstat-no" title="function not covered" >mediaType(</span>path) {
154
+ function <span class="fstat-no" title="function not covered" >mediaType(path) {</span>
155
155
  var type = <span class="cstat-no" title="statement not covered" >extensionType(extension(path));</span>
156
156
  &nbsp;
157
157
  <span class="cstat-no" title="statement not covered" > if (type) {</span>
@@ -161,7 +161,7 @@ function <span class="fstat-no" title="function not covered" >mediaType(</span>p
161
161
  <span class="cstat-no" title="statement not covered" > throw new Error(`Unknown extension '${extension}'`);</span>
162
162
  }
163
163
  &nbsp;
164
- module.exports = {
164
+ <span class="cstat-no" title="statement not covered" >module.exports = {</span>
165
165
  extension,
166
166
  extensionType,
167
167
  mediaType
@@ -172,7 +172,7 @@ module.exports = {
172
172
  </div><!-- /wrapper -->
173
173
  <div class='footer quiet pad2 space-top1 center small'>
174
174
  Code coverage
175
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:04:02 GMT-0600 (Central Standard Time)
175
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Nov 27 2019 12:25:59 GMT-0600 (Central Standard Time)
176
176
  </div>
177
177
  </div>
178
178
  <script src="prettify.js"></script>