@tivio/sdk-react 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/README.md +2 -0
  2. package/dist/components/hooks/usePurchaseSubscription.d.ts +2 -7
  3. package/dist/components/hooks/useTransactionPayment.d.ts +2 -7
  4. package/dist/index.js +1 -1
  5. package/dist/services/sentry.d.ts +1 -1
  6. package/dist/types.d.ts +2 -10
  7. package/env +0 -0
  8. package/package.json +5 -7
  9. package/scripts/build_dev.sh +3 -0
  10. package/scripts/build_prod.sh +3 -0
  11. package/scripts/start.sh +3 -0
  12. package/coverage/clover.xml +0 -113
  13. package/coverage/lcov-report/base.css +0 -224
  14. package/coverage/lcov-report/block-navigation.js +0 -79
  15. package/coverage/lcov-report/favicon.png +0 -0
  16. package/coverage/lcov-report/index.html +0 -126
  17. package/coverage/lcov-report/prettify.css +0 -1
  18. package/coverage/lcov-report/prettify.js +0 -2
  19. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  20. package/coverage/lcov-report/sorter.js +0 -170
  21. package/coverage/lcov-report/src/components/TivioProvider.tsx.html +0 -227
  22. package/coverage/lcov-report/src/components/TivioWidget.tsx.html +0 -203
  23. package/coverage/lcov-report/src/components/TivioWidgetError.tsx.html +0 -122
  24. package/coverage/lcov-report/src/components/TivioWidgetLoader.tsx.html +0 -116
  25. package/coverage/lcov-report/src/components/index.html +0 -156
  26. package/coverage/lcov-report/src/conf.ts.html +0 -239
  27. package/coverage/lcov-report/src/index.html +0 -111
  28. package/coverage/lcov-report/src/services/bundleLoader.ts.html +0 -698
  29. package/coverage/lcov-report/src/services/dependencyResolver.ts.html +0 -212
  30. package/coverage/lcov-report/src/services/index.html +0 -141
  31. package/coverage/lcov-report/src/services/logger.ts.html +0 -365
  32. package/coverage/lcov-report/src/services/packageLoader.ts.html +0 -194
  33. package/coverage/lcov-report/src/services/pubSub.ts.html +0 -242
  34. package/coverage/lcov-report/src/services/settings.ts.html +0 -218
  35. package/coverage/lcov-report/src/setupTests.ts.html +0 -158
  36. package/coverage/lcov.info +0 -175
@@ -1,5 +1,5 @@
1
1
  import * as _Sentry from '@sentry/browser';
2
- export declare const Sentry: typeof _Sentry;
2
+ export declare const Sentry: null | typeof _Sentry;
3
3
  export declare const initSentry: () => void;
4
4
  /**
5
5
  * Inject Sentry to window in order to use it inside core-js, core-react, etc.
package/dist/types.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Export public client side API
7
7
  */
8
- import type { Monetization, Screen, SubscribeToItemsInRow, SubscribeToRowsInScreen, SubscribeToScreen, Video } from '@tivio/common';
8
+ import type { Monetization, QerkoPaymentInfo, Screen, SubscribeToItemsInRow, SubscribeToRowsInScreen, SubscribeToScreen, Video } from '@tivio/common';
9
9
  import { USER_TYPE } from '@tivio/common';
10
10
  import type React from 'react';
11
11
  import { InternalConf } from './conf';
@@ -117,14 +117,6 @@ export interface TivioWidgetRef {
117
117
  x: number;
118
118
  });
119
119
  }
120
- declare type QerkoPaymentInfo = {
121
- webPaymentGatewayLink: string;
122
- gatewayUri: string;
123
- paymentQRCodeUri: string;
124
- purchaseId: string;
125
- currency: string;
126
- amount: number;
127
- };
128
120
  declare type TivioSubscriptions = {
129
121
  subscribeToUser: (cb: (error: string | null, user: User | null) => void) => void;
130
122
  /**
@@ -372,4 +364,4 @@ declare type TivioBundle = {
372
364
  sources: TivioSources;
373
365
  subscriptions: TivioSubscriptions;
374
366
  };
375
- export type { RemoteProviderProps, WebPlayerProps, Conf, Nullable, Empty, Disposer, Marker, BetOffer, QerkoPaymentInfo, Purchase, Chapter, Language, Widget, Channel, Section, Video, TivioAuth, TivioSubscriptions, TivioGetters, TivioBundle, TivioHooks, TivioComponents, TivioSources, UserData, User, Monetization, VodTivioSource, };
367
+ export type { RemoteProviderProps, WebPlayerProps, Conf, Nullable, Empty, Disposer, Marker, BetOffer, Purchase, Chapter, Language, Widget, Channel, Section, Video, TivioAuth, TivioSubscriptions, TivioGetters, TivioBundle, TivioHooks, TivioComponents, TivioSources, UserData, User, Monetization, VodTivioSource, };
package/env ADDED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-react",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",
@@ -9,12 +9,11 @@
9
9
  "access": "public"
10
10
  },
11
11
  "scripts": {
12
- "build": "echo 'TODO We need a build script dev vs. prod 🔥' && yarn run clean && webpack --config=webpack.config.prod.js",
13
- "dev": "yarn run clean && webpack --config=webpack.config.dev.js",
14
- "start": "yarn run clean && webpack -w --config=webpack.config.dev.js",
12
+ "build": "bash ./scripts/build_prod.sh",
13
+ "build:dev": "bash ./scripts/build_dev.sh",
14
+ "start": "bash ./scripts/start.sh",
15
15
  "test": "jest --config=./jest.config.js --coverage",
16
16
  "clean": "rm -rf dist",
17
- "prepublishOnly": "yarn ts-node ./scripts/prepublish.ts && yarn clean && yarn run build",
18
17
  "publish:alpha": "npm publish --tag alpha"
19
18
  },
20
19
  "peerDependencies": {
@@ -25,7 +24,7 @@
25
24
  "styled-components": "^5.2.1"
26
25
  },
27
26
  "dependencies": {
28
- "@tivio/common": "1.1.21",
27
+ "@tivio/common": "1.1.22",
29
28
  "@sentry/browser": "^6.1.0",
30
29
  "mobx-react": "^7.1.0"
31
30
  },
@@ -53,7 +52,6 @@
53
52
  "styled-components": "^5.2.1",
54
53
  "timers-browserify": "^2.0.12",
55
54
  "ts-jest": "^26.4.4",
56
- "ts-loader": "^8.0.14",
57
55
  "typescript": "^4.1.3",
58
56
  "webpack": "^5.15.0",
59
57
  "webpack-cli": "^4.4.0",
@@ -0,0 +1,3 @@
1
+ cat ./.env.dev > ./.env;
2
+ yarn run clean;
3
+ yarn webpack --config=webpack.config.dev.js;
@@ -0,0 +1,3 @@
1
+ cat ./.env.prod > ./.env;
2
+ yarn run clean;
3
+ yarn webpack --config=webpack.config.prod.js;
@@ -0,0 +1,3 @@
1
+ cat ./.env.dev > ./.env;
2
+ yarn run clean;
3
+ yarn webpack -w --config=webpack.config.dev.js;
@@ -1,113 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1620299977616" clover="3.2.0">
3
- <project timestamp="1620299977616" name="All files">
4
- <metrics statements="89" coveredstatements="57" conditionals="22" coveredconditionals="5" methods="14" coveredmethods="8" elements="125" coveredelements="70" complexity="0" loc="89" ncloc="89" packages="2" files="4" classes="4"/>
5
- <package name="src">
6
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
- <file name="setupTests.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/setupTests.ts">
8
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9
- <line num="1" count="1" type="stmt"/>
10
- <line num="4" count="1" type="stmt"/>
11
- <line num="5" count="1" type="stmt"/>
12
- <line num="6" count="1" type="stmt"/>
13
- <line num="7" count="1" type="stmt"/>
14
- <line num="9" count="1" type="stmt"/>
15
- <line num="11" count="1" type="stmt"/>
16
- <line num="23" count="1" type="stmt"/>
17
- </file>
18
- </package>
19
- <package name="src.services">
20
- <metrics statements="81" coveredstatements="49" conditionals="22" coveredconditionals="5" methods="14" coveredmethods="8"/>
21
- <file name="bundleLoader.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/bundleLoader.ts">
22
- <metrics statements="55" coveredstatements="35" conditionals="14" coveredconditionals="5" methods="10" coveredmethods="7"/>
23
- <line num="12" count="1" type="stmt"/>
24
- <line num="15" count="1" type="stmt"/>
25
- <line num="16" count="1" type="stmt"/>
26
- <line num="49" count="1" type="stmt"/>
27
- <line num="50" count="12" type="stmt"/>
28
- <line num="51" count="12" type="stmt"/>
29
- <line num="53" count="12" type="stmt"/>
30
- <line num="59" count="12" type="stmt"/>
31
- <line num="60" count="12" type="stmt"/>
32
- <line num="62" count="12" type="stmt"/>
33
- <line num="63" count="12" type="stmt"/>
34
- <line num="64" count="10" type="stmt"/>
35
- <line num="66" count="2" type="stmt"/>
36
- <line num="69" count="10" type="cond" truecount="2" falsecount="0"/>
37
- <line num="70" count="2" type="stmt"/>
38
- <line num="73" count="8" type="stmt"/>
39
- <line num="80" count="1" type="stmt"/>
40
- <line num="81" count="14" type="stmt"/>
41
- <line num="82" count="8" type="stmt"/>
42
- <line num="84" count="7" type="stmt"/>
43
- <line num="85" count="7" type="stmt"/>
44
- <line num="87" count="7" type="stmt"/>
45
- <line num="88" count="7" type="stmt"/>
46
- <line num="89" count="6" type="stmt"/>
47
- <line num="91" count="1" type="stmt"/>
48
- <line num="94" count="6" type="cond" truecount="2" falsecount="0"/>
49
- <line num="95" count="1" type="stmt"/>
50
- <line num="98" count="5" type="cond" truecount="1" falsecount="1"/>
51
- <line num="99" count="5" type="stmt"/>
52
- <line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
53
- <line num="103" count="0" type="stmt"/>
54
- <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
55
- <line num="107" count="0" type="stmt"/>
56
- <line num="112" count="0" type="stmt"/>
57
- <line num="117" count="1" type="stmt"/>
58
- <line num="118" count="7" type="stmt"/>
59
- <line num="119" count="7" type="stmt"/>
60
- <line num="121" count="7" type="stmt"/>
61
- <line num="122" count="14" type="stmt"/>
62
- <line num="135" count="14" type="stmt"/>
63
- <line num="147" count="0" type="stmt"/>
64
- <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
65
- <line num="149" count="0" type="stmt"/>
66
- <line num="152" count="0" type="stmt"/>
67
- <line num="154" count="0" type="cond" truecount="0" falsecount="2"/>
68
- <line num="155" count="0" type="stmt"/>
69
- <line num="156" count="0" type="stmt"/>
70
- <line num="159" count="0" type="stmt"/>
71
- <line num="161" count="0" type="stmt"/>
72
- <line num="173" count="0" type="stmt"/>
73
- <line num="174" count="0" type="stmt"/>
74
- <line num="177" count="0" type="stmt"/>
75
- <line num="179" count="0" type="stmt"/>
76
- <line num="190" count="0" type="stmt"/>
77
- <line num="194" count="0" type="stmt"/>
78
- </file>
79
- <file name="dependencyResolver.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/dependencyResolver.ts">
80
- <metrics statements="13" coveredstatements="10" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
81
- <line num="12" count="1" type="stmt"/>
82
- <line num="13" count="1" type="stmt"/>
83
- <line num="14" count="1" type="stmt"/>
84
- <line num="15" count="1" type="stmt"/>
85
- <line num="16" count="1" type="stmt"/>
86
- <line num="17" count="1" type="stmt"/>
87
- <line num="18" count="1" type="stmt"/>
88
- <line num="19" count="1" type="stmt"/>
89
- <line num="28" count="1" type="stmt"/>
90
- <line num="38" count="1" type="stmt"/>
91
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
92
- <line num="40" count="0" type="stmt"/>
93
- <line num="43" count="0" type="stmt"/>
94
- </file>
95
- <file name="settings.ts" path="/home/artur/Desktop/git/tivio/libs/sdk-react/src/services/settings.ts">
96
- <metrics statements="13" coveredstatements="4" conditionals="6" coveredconditionals="0" methods="3" coveredmethods="1"/>
97
- <line num="18" count="1" type="stmt"/>
98
- <line num="19" count="12" type="stmt"/>
99
- <line num="23" count="12" type="stmt"/>
100
- <line num="25" count="12" type="stmt"/>
101
- <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
102
- <line num="28" count="0" type="stmt"/>
103
- <line num="30" count="0" type="stmt"/>
104
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
105
- <line num="33" count="0" type="stmt"/>
106
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
107
- <line num="39" count="0" type="stmt"/>
108
- <line num="40" count="0" type="stmt"/>
109
- <line num="42" count="0" type="stmt"/>
110
- </file>
111
- </package>
112
- </project>
113
- </coverage>
@@ -1,224 +0,0 @@
1
- body, html {
2
- margin:0; padding: 0;
3
- height: 100%;
4
- }
5
- body {
6
- font-family: Helvetica Neue, Helvetica, Arial;
7
- font-size: 14px;
8
- color:#333;
9
- }
10
- .small { font-size: 12px; }
11
- *, *:after, *:before {
12
- -webkit-box-sizing:border-box;
13
- -moz-box-sizing:border-box;
14
- box-sizing:border-box;
15
- }
16
- h1 { font-size: 20px; margin: 0;}
17
- h2 { font-size: 14px; }
18
- pre {
19
- font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
20
- margin: 0;
21
- padding: 0;
22
- -moz-tab-size: 2;
23
- -o-tab-size: 2;
24
- tab-size: 2;
25
- }
26
- a { color:#0074D9; text-decoration:none; }
27
- a:hover { text-decoration:underline; }
28
- .strong { font-weight: bold; }
29
- .space-top1 { padding: 10px 0 0 0; }
30
- .pad2y { padding: 20px 0; }
31
- .pad1y { padding: 10px 0; }
32
- .pad2x { padding: 0 20px; }
33
- .pad2 { padding: 20px; }
34
- .pad1 { padding: 10px; }
35
- .space-left2 { padding-left:55px; }
36
- .space-right2 { padding-right:20px; }
37
- .center { text-align:center; }
38
- .clearfix { display:block; }
39
- .clearfix:after {
40
- content:'';
41
- display:block;
42
- height:0;
43
- clear:both;
44
- visibility:hidden;
45
- }
46
- .fl { float: left; }
47
- @media only screen and (max-width:640px) {
48
- .col3 { width:100%; max-width:100%; }
49
- .hide-mobile { display:none!important; }
50
- }
51
-
52
- .quiet {
53
- color: #7f7f7f;
54
- color: rgba(0,0,0,0.5);
55
- }
56
- .quiet a { opacity: 0.7; }
57
-
58
- .fraction {
59
- font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
60
- font-size: 10px;
61
- color: #555;
62
- background: #E8E8E8;
63
- padding: 4px 5px;
64
- border-radius: 3px;
65
- vertical-align: middle;
66
- }
67
-
68
- div.path a:link, div.path a:visited { color: #333; }
69
- table.coverage {
70
- border-collapse: collapse;
71
- margin: 10px 0 0 0;
72
- padding: 0;
73
- }
74
-
75
- table.coverage td {
76
- margin: 0;
77
- padding: 0;
78
- vertical-align: top;
79
- }
80
- table.coverage td.line-count {
81
- text-align: right;
82
- padding: 0 5px 0 20px;
83
- }
84
- table.coverage td.line-coverage {
85
- text-align: right;
86
- padding-right: 10px;
87
- min-width:20px;
88
- }
89
-
90
- table.coverage td span.cline-any {
91
- display: inline-block;
92
- padding: 0 5px;
93
- width: 100%;
94
- }
95
- .missing-if-branch {
96
- display: inline-block;
97
- margin-right: 5px;
98
- border-radius: 3px;
99
- position: relative;
100
- padding: 0 4px;
101
- background: #333;
102
- color: yellow;
103
- }
104
-
105
- .skip-if-branch {
106
- display: none;
107
- margin-right: 10px;
108
- position: relative;
109
- padding: 0 4px;
110
- background: #ccc;
111
- color: white;
112
- }
113
- .missing-if-branch .typ, .skip-if-branch .typ {
114
- color: inherit !important;
115
- }
116
- .coverage-summary {
117
- border-collapse: collapse;
118
- width: 100%;
119
- }
120
- .coverage-summary tr { border-bottom: 1px solid #bbb; }
121
- .keyline-all { border: 1px solid #ddd; }
122
- .coverage-summary td, .coverage-summary th { padding: 10px; }
123
- .coverage-summary tbody { border: 1px solid #bbb; }
124
- .coverage-summary td { border-right: 1px solid #bbb; }
125
- .coverage-summary td:last-child { border-right: none; }
126
- .coverage-summary th {
127
- text-align: left;
128
- font-weight: normal;
129
- white-space: nowrap;
130
- }
131
- .coverage-summary th.file { border-right: none !important; }
132
- .coverage-summary th.pct { }
133
- .coverage-summary th.pic,
134
- .coverage-summary th.abs,
135
- .coverage-summary td.pct,
136
- .coverage-summary td.abs { text-align: right; }
137
- .coverage-summary td.file { white-space: nowrap; }
138
- .coverage-summary td.pic { min-width: 120px !important; }
139
- .coverage-summary tfoot td { }
140
-
141
- .coverage-summary .sorter {
142
- height: 10px;
143
- width: 7px;
144
- display: inline-block;
145
- margin-left: 0.5em;
146
- background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
147
- }
148
- .coverage-summary .sorted .sorter {
149
- background-position: 0 -20px;
150
- }
151
- .coverage-summary .sorted-desc .sorter {
152
- background-position: 0 -10px;
153
- }
154
- .status-line { height: 10px; }
155
- /* yellow */
156
- .cbranch-no { background: yellow !important; color: #111; }
157
- /* dark red */
158
- .red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
159
- .low .chart { border:1px solid #C21F39 }
160
- .highlighted,
161
- .highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
162
- background: #C21F39 !important;
163
- }
164
- /* medium red */
165
- .cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
166
- /* light red */
167
- .low, .cline-no { background:#FCE1E5 }
168
- /* light green */
169
- .high, .cline-yes { background:rgb(230,245,208) }
170
- /* medium green */
171
- .cstat-yes { background:rgb(161,215,106) }
172
- /* dark green */
173
- .status-line.high, .high .cover-fill { background:rgb(77,146,33) }
174
- .high .chart { border:1px solid rgb(77,146,33) }
175
- /* dark yellow (gold) */
176
- .status-line.medium, .medium .cover-fill { background: #f9cd0b; }
177
- .medium .chart { border:1px solid #f9cd0b; }
178
- /* light yellow */
179
- .medium { background: #fff4c2; }
180
-
181
- .cstat-skip { background: #ddd; color: #111; }
182
- .fstat-skip { background: #ddd; color: #111 !important; }
183
- .cbranch-skip { background: #ddd !important; color: #111; }
184
-
185
- span.cline-neutral { background: #eaeaea; }
186
-
187
- .coverage-summary td.empty {
188
- opacity: .5;
189
- padding-top: 4px;
190
- padding-bottom: 4px;
191
- line-height: 1;
192
- color: #888;
193
- }
194
-
195
- .cover-fill, .cover-empty {
196
- display:inline-block;
197
- height: 12px;
198
- }
199
- .chart {
200
- line-height: 0;
201
- }
202
- .cover-empty {
203
- background: white;
204
- }
205
- .cover-full {
206
- border-right: none !important;
207
- }
208
- pre.prettyprint {
209
- border: none !important;
210
- padding: 0 !important;
211
- margin: 0 !important;
212
- }
213
- .com { color: #999 !important; }
214
- .ignore-none { color: #999; font-weight: normal; }
215
-
216
- .wrapper {
217
- min-height: 100%;
218
- height: auto !important;
219
- height: 100%;
220
- margin: 0 auto -48px;
221
- }
222
- .footer, .push {
223
- height: 48px;
224
- }
@@ -1,79 +0,0 @@
1
- /* eslint-disable */
2
- var jumpToCode = (function init() {
3
- // Classes of code we would like to highlight in the file view
4
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
-
6
- // Elements to highlight in the file listing view
7
- var fileListingElements = ['td.pct.low'];
8
-
9
- // We don't want to select elements that are direct descendants of another match
10
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
-
12
- // Selecter that finds elements on the page to which we can jump
13
- var selector =
14
- fileListingElements.join(', ') +
15
- ', ' +
16
- notSelector +
17
- missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
-
19
- // The NodeList of matching elements
20
- var missingCoverageElements = document.querySelectorAll(selector);
21
-
22
- var currentIndex;
23
-
24
- function toggleClass(index) {
25
- missingCoverageElements
26
- .item(currentIndex)
27
- .classList.remove('highlighted');
28
- missingCoverageElements.item(index).classList.add('highlighted');
29
- }
30
-
31
- function makeCurrent(index) {
32
- toggleClass(index);
33
- currentIndex = index;
34
- missingCoverageElements.item(index).scrollIntoView({
35
- behavior: 'smooth',
36
- block: 'center',
37
- inline: 'center'
38
- });
39
- }
40
-
41
- function goToPrevious() {
42
- var nextIndex = 0;
43
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
44
- nextIndex = missingCoverageElements.length - 1;
45
- } else if (missingCoverageElements.length > 1) {
46
- nextIndex = currentIndex - 1;
47
- }
48
-
49
- makeCurrent(nextIndex);
50
- }
51
-
52
- function goToNext() {
53
- var nextIndex = 0;
54
-
55
- if (
56
- typeof currentIndex === 'number' &&
57
- currentIndex < missingCoverageElements.length - 1
58
- ) {
59
- nextIndex = currentIndex + 1;
60
- }
61
-
62
- makeCurrent(nextIndex);
63
- }
64
-
65
- return function jump(event) {
66
- switch (event.which) {
67
- case 78: // n
68
- case 74: // j
69
- goToNext();
70
- break;
71
- case 66: // b
72
- case 75: // k
73
- case 80: // p
74
- goToPrevious();
75
- break;
76
- }
77
- };
78
- })();
79
- window.addEventListener('keydown', jumpToCode);
Binary file
@@ -1,126 +0,0 @@
1
-
2
- <!doctype html>
3
- <html lang="en">
4
-
5
- <head>
6
- <title>Code coverage report for All files</title>
7
- <meta charset="utf-8" />
8
- <link rel="stylesheet" href="prettify.css" />
9
- <link rel="stylesheet" href="base.css" />
10
- <link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
11
- <meta name="viewport" content="width=device-width, initial-scale=1" />
12
- <style type='text/css'>
13
- .coverage-summary .sorter {
14
- background-image: url(sort-arrow-sprite.png);
15
- }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <div class='wrapper'>
21
- <div class='pad1'>
22
- <h1>All files</h1>
23
- <div class='clearfix'>
24
-
25
- <div class='fl pad1y space-right2'>
26
- <span class="strong">65.96% </span>
27
- <span class="quiet">Statements</span>
28
- <span class='fraction'>62/94</span>
29
- </div>
30
-
31
-
32
- <div class='fl pad1y space-right2'>
33
- <span class="strong">22.73% </span>
34
- <span class="quiet">Branches</span>
35
- <span class='fraction'>5/22</span>
36
- </div>
37
-
38
-
39
- <div class='fl pad1y space-right2'>
40
- <span class="strong">57.14% </span>
41
- <span class="quiet">Functions</span>
42
- <span class='fraction'>8/14</span>
43
- </div>
44
-
45
-
46
- <div class='fl pad1y space-right2'>
47
- <span class="strong">64.04% </span>
48
- <span class="quiet">Lines</span>
49
- <span class='fraction'>57/89</span>
50
- </div>
51
-
52
-
53
- </div>
54
- <p class="quiet">
55
- Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56
- </p>
57
- </div>
58
- <div class='status-line medium'></div>
59
- <div class="pad1">
60
- <table class="coverage-summary">
61
- <thead>
62
- <tr>
63
- <th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
64
- <th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
65
- <th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
66
- <th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
67
- <th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
68
- <th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
69
- <th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
70
- <th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
71
- <th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
72
- <th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
73
- </tr>
74
- </thead>
75
- <tbody><tr>
76
- <td class="file high" data-value="src"><a href="src/index.html">src</a></td>
77
- <td data-value="100" class="pic high">
78
- <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
79
- </td>
80
- <td data-value="100" class="pct high">100%</td>
81
- <td data-value="8" class="abs high">8/8</td>
82
- <td data-value="100" class="pct high">100%</td>
83
- <td data-value="0" class="abs high">0/0</td>
84
- <td data-value="100" class="pct high">100%</td>
85
- <td data-value="0" class="abs high">0/0</td>
86
- <td data-value="100" class="pct high">100%</td>
87
- <td data-value="8" class="abs high">8/8</td>
88
- </tr>
89
-
90
- <tr>
91
- <td class="file medium" data-value="src/services"><a href="src/services/index.html">src/services</a></td>
92
- <td data-value="62.79" class="pic medium">
93
- <div class="chart"><div class="cover-fill" style="width: 62%"></div><div class="cover-empty" style="width: 38%"></div></div>
94
- </td>
95
- <td data-value="62.79" class="pct medium">62.79%</td>
96
- <td data-value="86" class="abs medium">54/86</td>
97
- <td data-value="22.73" class="pct low">22.73%</td>
98
- <td data-value="22" class="abs low">5/22</td>
99
- <td data-value="57.14" class="pct medium">57.14%</td>
100
- <td data-value="14" class="abs medium">8/14</td>
101
- <td data-value="60.49" class="pct medium">60.49%</td>
102
- <td data-value="81" class="abs medium">49/81</td>
103
- </tr>
104
-
105
- </tbody>
106
- </table>
107
- </div>
108
- <div class='push'></div><!-- for sticky footer -->
109
- </div><!-- /wrapper -->
110
- <div class='footer quiet pad2 space-top1 center small'>
111
- Code coverage generated by
112
- <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
113
- at Thu May 06 2021 13:19:37 GMT+0200 (Central European Summer Time)
114
- </div>
115
- </div>
116
- <script src="prettify.js"></script>
117
- <script>
118
- window.onload = function () {
119
- prettyPrint();
120
- };
121
- </script>
122
- <script src="sorter.js"></script>
123
- <script src="block-navigation.js"></script>
124
- </body>
125
- </html>
126
-
@@ -1 +0,0 @@
1
- .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}