mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Add action type to preview bar test
This commit is contained in:
parent
56611598b2
commit
b7d85ca3c7
1 changed files with 140 additions and 56 deletions
|
@ -11,12 +11,14 @@ describe("createChapterRenderGroups", () => {
|
||||||
const groups = previewBar.createChapterRenderGroups([{
|
const groups = previewBar.createChapterRenderGroups([{
|
||||||
segment: [2, 30],
|
segment: [2, 30],
|
||||||
category: "sponsor",
|
category: "sponsor",
|
||||||
|
actionType: "skip",
|
||||||
unsubmitted: false,
|
unsubmitted: false,
|
||||||
showLarger: false,
|
showLarger: false,
|
||||||
description: ""
|
description: ""
|
||||||
}, {
|
}, {
|
||||||
segment: [50, 80],
|
segment: [50, 80],
|
||||||
category: "sponsor",
|
category: "sponsor",
|
||||||
|
actionType: "skip",
|
||||||
unsubmitted: false,
|
unsubmitted: false,
|
||||||
showLarger: false,
|
showLarger: false,
|
||||||
description: ""
|
description: ""
|
||||||
|
@ -24,19 +26,24 @@ describe("createChapterRenderGroups", () => {
|
||||||
|
|
||||||
expect(groups).toStrictEqual([{
|
expect(groups).toStrictEqual([{
|
||||||
segment: [0, 2],
|
segment: [0, 2],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}, {
|
}, {
|
||||||
segment: [2, 30],
|
segment: [2, 30],
|
||||||
originalDuration: 30 - 2
|
originalDuration: 30 - 2,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [30, 50],
|
segment: [30, 50],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}, {
|
}, {
|
||||||
segment: [50, 80],
|
segment: [50, 80],
|
||||||
originalDuration: 80 - 50
|
originalDuration: 80 - 50,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [80, 315],
|
segment: [80, 315],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}]);
|
}]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -45,12 +52,14 @@ describe("createChapterRenderGroups", () => {
|
||||||
const groups = previewBar.createChapterRenderGroups([{
|
const groups = previewBar.createChapterRenderGroups([{
|
||||||
segment: [2.52, 30],
|
segment: [2.52, 30],
|
||||||
category: "sponsor",
|
category: "sponsor",
|
||||||
|
actionType: "skip",
|
||||||
unsubmitted: false,
|
unsubmitted: false,
|
||||||
showLarger: false,
|
showLarger: false,
|
||||||
description: ""
|
description: ""
|
||||||
}, {
|
}, {
|
||||||
segment: [20, 25],
|
segment: [20, 25],
|
||||||
category: "sponsor",
|
category: "sponsor",
|
||||||
|
actionType: "skip",
|
||||||
unsubmitted: false,
|
unsubmitted: false,
|
||||||
showLarger: false,
|
showLarger: false,
|
||||||
description: ""
|
description: ""
|
||||||
|
@ -58,19 +67,24 @@ describe("createChapterRenderGroups", () => {
|
||||||
|
|
||||||
expect(groups).toStrictEqual([{
|
expect(groups).toStrictEqual([{
|
||||||
segment: [0, 2.52],
|
segment: [0, 2.52],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}, {
|
}, {
|
||||||
segment: [2.52, 20],
|
segment: [2.52, 20],
|
||||||
originalDuration: 30 - 2.52
|
originalDuration: 30 - 2.52,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [20, 25],
|
segment: [20, 25],
|
||||||
originalDuration: 25 - 20
|
originalDuration: 25 - 20,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [25, 30],
|
segment: [25, 30],
|
||||||
originalDuration: 30 - 2.52
|
originalDuration: 30 - 2.52,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [30, 315],
|
segment: [30, 315],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}]);
|
}]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -79,12 +93,14 @@ describe("createChapterRenderGroups", () => {
|
||||||
const groups = previewBar.createChapterRenderGroups([{
|
const groups = previewBar.createChapterRenderGroups([{
|
||||||
segment: [2.52, 30],
|
segment: [2.52, 30],
|
||||||
category: "sponsor",
|
category: "sponsor",
|
||||||
|
actionType: "skip",
|
||||||
unsubmitted: false,
|
unsubmitted: false,
|
||||||
showLarger: false,
|
showLarger: false,
|
||||||
description: ""
|
description: ""
|
||||||
}, {
|
}, {
|
||||||
segment: [2.52, 40],
|
segment: [2.52, 40],
|
||||||
category: "sponsor",
|
category: "sponsor",
|
||||||
|
actionType: "skip",
|
||||||
unsubmitted: false,
|
unsubmitted: false,
|
||||||
showLarger: false,
|
showLarger: false,
|
||||||
description: ""
|
description: ""
|
||||||
|
@ -92,16 +108,20 @@ describe("createChapterRenderGroups", () => {
|
||||||
|
|
||||||
expect(groups).toStrictEqual([{
|
expect(groups).toStrictEqual([{
|
||||||
segment: [0, 2.52],
|
segment: [0, 2.52],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}, {
|
}, {
|
||||||
segment: [2.52, 30],
|
segment: [2.52, 30],
|
||||||
originalDuration: 30 - 2.52
|
originalDuration: 30 - 2.52,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [30, 40],
|
segment: [30, 40],
|
||||||
originalDuration: 40 - 2.52
|
originalDuration: 40 - 2.52,
|
||||||
|
actionType: "skip"
|
||||||
}, {
|
}, {
|
||||||
segment: [40, 315],
|
segment: [40, 315],
|
||||||
originalDuration: 0
|
originalDuration: 0,
|
||||||
|
actionType: null
|
||||||
}]);
|
}]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -110,6 +130,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
const groups = previewBar.createChapterRenderGroups([
|
const groups = previewBar.createChapterRenderGroups([
|
||||||
{
|
{
|
||||||
"category": "chapter",
|
"category": "chapter",
|
||||||
|
"actionType": "chapter",
|
||||||
"segment": [
|
"segment": [
|
||||||
0,
|
0,
|
||||||
49.977
|
49.977
|
||||||
|
@ -122,6 +143,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
2.926,
|
2.926,
|
||||||
5
|
5
|
||||||
|
@ -134,6 +156,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "chapter",
|
"category": "chapter",
|
||||||
|
"actionType": "chapter",
|
||||||
"segment": [
|
"segment": [
|
||||||
14.487,
|
14.487,
|
||||||
37.133
|
37.133
|
||||||
|
@ -146,6 +169,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
23.450537,
|
23.450537,
|
||||||
34.486084
|
34.486084
|
||||||
|
@ -158,6 +182,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "interaction",
|
"category": "interaction",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
50.015343,
|
50.015343,
|
||||||
56.775314
|
56.775314
|
||||||
|
@ -170,6 +195,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
62.51888,
|
62.51888,
|
||||||
74.33331
|
74.33331
|
||||||
|
@ -182,6 +208,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
88.71328,
|
88.71328,
|
||||||
96.05933
|
96.05933
|
||||||
|
@ -194,6 +221,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
101.50703,
|
101.50703,
|
||||||
115.088326
|
115.088326
|
||||||
|
@ -205,6 +233,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
122.211845,
|
122.211845,
|
||||||
137.42178
|
137.42178
|
||||||
|
@ -217,6 +246,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
144.08913,
|
144.08913,
|
||||||
160.14084
|
160.14084
|
||||||
|
@ -229,6 +259,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
164.22084,
|
164.22084,
|
||||||
170.98082
|
170.98082
|
||||||
|
@ -241,6 +272,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
180.56674,
|
180.56674,
|
||||||
189.16516
|
189.16516
|
||||||
|
@ -253,6 +285,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
204.10468,
|
204.10468,
|
||||||
211.87865
|
211.87865
|
||||||
|
@ -265,6 +298,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
214.92064,
|
214.92064,
|
||||||
222.0186
|
222.0186
|
||||||
|
@ -277,6 +311,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
233.0754,
|
233.0754,
|
||||||
244.56734
|
244.56734
|
||||||
|
@ -289,6 +324,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
260.64053,
|
260.64053,
|
||||||
269.35938
|
269.35938
|
||||||
|
@ -301,6 +337,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
288.686,
|
288.686,
|
||||||
301.96
|
301.96
|
||||||
|
@ -313,6 +350,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"segment": [
|
"segment": [
|
||||||
288.686,
|
288.686,
|
||||||
295
|
295
|
||||||
|
@ -330,245 +368,280 @@ describe("createChapterRenderGroups", () => {
|
||||||
0,
|
0,
|
||||||
2.926
|
2.926
|
||||||
],
|
],
|
||||||
"originalDuration": 49.977
|
"originalDuration": 49.977,
|
||||||
|
"actionType": "chapter"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
2.926,
|
2.926,
|
||||||
5
|
5
|
||||||
],
|
],
|
||||||
"originalDuration": 2.074
|
"originalDuration": 2.074,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
5,
|
5,
|
||||||
14.487
|
14.487
|
||||||
],
|
],
|
||||||
"originalDuration": 49.977
|
"originalDuration": 49.977,
|
||||||
|
"actionType": "chapter"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
14.487,
|
14.487,
|
||||||
23.450537
|
23.450537
|
||||||
],
|
],
|
||||||
"originalDuration": 22.646
|
"originalDuration": 22.646,
|
||||||
|
"actionType": "chapter"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
23.450537,
|
23.450537,
|
||||||
34.486084
|
34.486084
|
||||||
],
|
],
|
||||||
"originalDuration": 11.035546999999998
|
"originalDuration": 11.035546999999998,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
34.486084,
|
34.486084,
|
||||||
37.133
|
37.133
|
||||||
],
|
],
|
||||||
"originalDuration": 22.646
|
"originalDuration": 22.646,
|
||||||
|
"actionType": "chapter"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
37.133,
|
37.133,
|
||||||
49.977
|
49.977
|
||||||
],
|
],
|
||||||
"originalDuration": 49.977
|
"originalDuration": 49.977,
|
||||||
|
"actionType": "chapter"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
49.977,
|
49.977,
|
||||||
50.015343
|
50.015343
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
50.015343,
|
50.015343,
|
||||||
56.775314
|
56.775314
|
||||||
],
|
],
|
||||||
"originalDuration": 6.759971
|
"originalDuration": 6.759971,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
56.775314,
|
56.775314,
|
||||||
62.51888
|
62.51888
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
62.51888,
|
62.51888,
|
||||||
74.33331
|
74.33331
|
||||||
],
|
],
|
||||||
"originalDuration": 11.814429999999994
|
"originalDuration": 11.814429999999994,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
74.33331,
|
74.33331,
|
||||||
88.71328
|
88.71328
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
88.71328,
|
88.71328,
|
||||||
96.05933
|
96.05933
|
||||||
],
|
],
|
||||||
"originalDuration": 7.346050000000005
|
"originalDuration": 7.346050000000005,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
96.05933,
|
96.05933,
|
||||||
101.50703
|
101.50703
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
101.50703,
|
101.50703,
|
||||||
115.088326
|
115.088326
|
||||||
],
|
],
|
||||||
"originalDuration": 13.581295999999995
|
"originalDuration": 13.581295999999995,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
115.088326,
|
115.088326,
|
||||||
122.211845
|
122.211845
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
122.211845,
|
122.211845,
|
||||||
137.42178
|
137.42178
|
||||||
],
|
],
|
||||||
"originalDuration": 15.209935000000016
|
"originalDuration": 15.209935000000016,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
137.42178,
|
137.42178,
|
||||||
144.08913
|
144.08913
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
144.08913,
|
144.08913,
|
||||||
160.14084
|
160.14084
|
||||||
],
|
],
|
||||||
"originalDuration": 16.051709999999986
|
"originalDuration": 16.051709999999986,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
160.14084,
|
160.14084,
|
||||||
164.22084
|
164.22084
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
164.22084,
|
164.22084,
|
||||||
170.98082
|
170.98082
|
||||||
],
|
],
|
||||||
"originalDuration": 6.759979999999985
|
"originalDuration": 6.759979999999985,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
170.98082,
|
170.98082,
|
||||||
180.56674
|
180.56674
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
180.56674,
|
180.56674,
|
||||||
189.16516
|
189.16516
|
||||||
],
|
],
|
||||||
"originalDuration": 8.598419999999976
|
"originalDuration": 8.598419999999976,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
189.16516,
|
189.16516,
|
||||||
204.10468
|
204.10468
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
204.10468,
|
204.10468,
|
||||||
211.87865
|
211.87865
|
||||||
],
|
],
|
||||||
"originalDuration": 7.773969999999991
|
"originalDuration": 7.773969999999991,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
211.87865,
|
211.87865,
|
||||||
214.92064
|
214.92064
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
214.92064,
|
214.92064,
|
||||||
222.0186
|
222.0186
|
||||||
],
|
],
|
||||||
"originalDuration": 7.0979600000000005
|
"originalDuration": 7.0979600000000005,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
222.0186,
|
222.0186,
|
||||||
233.0754
|
233.0754
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
233.0754,
|
233.0754,
|
||||||
244.56734
|
244.56734
|
||||||
],
|
],
|
||||||
"originalDuration": 11.49194
|
"originalDuration": 11.49194,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
244.56734,
|
244.56734,
|
||||||
260.64053
|
260.64053
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
260.64053,
|
260.64053,
|
||||||
269.35938
|
269.35938
|
||||||
],
|
],
|
||||||
"originalDuration": 8.718849999999975
|
"originalDuration": 8.718849999999975,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
269.35938,
|
269.35938,
|
||||||
288.686
|
288.686
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
288.686,
|
288.686,
|
||||||
295
|
295
|
||||||
],
|
],
|
||||||
"originalDuration": 6.314000000000021
|
"originalDuration": 6.314000000000021,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
295,
|
295,
|
||||||
301.96
|
301.96
|
||||||
],
|
],
|
||||||
"originalDuration": 13.274000000000001
|
"originalDuration": 13.274000000000001,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
301.96,
|
301.96,
|
||||||
315.061
|
315.061
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
})
|
})
|
||||||
|
@ -581,6 +654,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
2797.323
|
2797.323
|
||||||
],
|
],
|
||||||
"category": "chooseACategory",
|
"category": "chooseACategory",
|
||||||
|
"actionType": "skip",
|
||||||
"unsubmitted": true,
|
"unsubmitted": true,
|
||||||
"showLarger": false,
|
"showLarger": false,
|
||||||
},{
|
},{
|
||||||
|
@ -589,6 +663,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
3432.255
|
3432.255
|
||||||
],
|
],
|
||||||
"category": "chooseACategory",
|
"category": "chooseACategory",
|
||||||
|
"actionType": "skip",
|
||||||
"unsubmitted": true,
|
"unsubmitted": true,
|
||||||
"showLarger": false,
|
"showLarger": false,
|
||||||
},{
|
},{
|
||||||
|
@ -597,6 +672,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
3412.413
|
3412.413
|
||||||
],
|
],
|
||||||
"category": "chooseACategory",
|
"category": "chooseACategory",
|
||||||
|
"actionType": "skip",
|
||||||
"unsubmitted": true,
|
"unsubmitted": true,
|
||||||
"showLarger": false,
|
"showLarger": false,
|
||||||
},{
|
},{
|
||||||
|
@ -605,6 +681,7 @@ describe("createChapterRenderGroups", () => {
|
||||||
1674.286
|
1674.286
|
||||||
],
|
],
|
||||||
"category": "sponsor",
|
"category": "sponsor",
|
||||||
|
"actionType": "skip",
|
||||||
"unsubmitted": false,
|
"unsubmitted": false,
|
||||||
"showLarger": false,
|
"showLarger": false,
|
||||||
}
|
}
|
||||||
|
@ -616,49 +693,56 @@ describe("createChapterRenderGroups", () => {
|
||||||
0,
|
0,
|
||||||
160
|
160
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
160,
|
160,
|
||||||
169
|
169
|
||||||
],
|
],
|
||||||
"originalDuration": 2637.323
|
"originalDuration": 2637.323,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
169,
|
169,
|
||||||
1594.92
|
1594.92
|
||||||
],
|
],
|
||||||
"originalDuration": 3243.413
|
"originalDuration": 3243.413,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
1594.92,
|
1594.92,
|
||||||
1674.286
|
1674.286
|
||||||
],
|
],
|
||||||
"originalDuration": 79.36599999999999
|
"originalDuration": 79.36599999999999,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
1674.286,
|
1674.286,
|
||||||
3412.413
|
3412.413
|
||||||
],
|
],
|
||||||
"originalDuration": 3243.413
|
"originalDuration": 3243.413,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
3412.413,
|
3412.413,
|
||||||
3432.255
|
3432.255
|
||||||
],
|
],
|
||||||
"originalDuration": 3263.255
|
"originalDuration": 3263.255,
|
||||||
|
"actionType": "skip"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"segment": [
|
"segment": [
|
||||||
3432.255,
|
3432.255,
|
||||||
3615.161
|
3615.161
|
||||||
],
|
],
|
||||||
"originalDuration": 0
|
"originalDuration": 0,
|
||||||
|
"actionType": null
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue