Skip to content

Commit

Permalink
chore: lint fixtures (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Jan 22, 2021
1 parent fb3b629 commit e09c7ed
Show file tree
Hide file tree
Showing 56 changed files with 2,185 additions and 2,186 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
"ignore": [
"dist",
"docs",
"test/dist",
"test/fixtures"
"test/dist"
]
},
"files": [
Expand Down
42 changes: 21 additions & 21 deletions test/fixtures/integration/absoluteUris.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
module.exports = {
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [
allowCache: true,
mediaSequence: 0,
playlistType: 'VOD',
segments: [
{
"duration": 10,
"timeline": 0,
"uri": "http://example.com/00001.ts"
duration: 10,
timeline: 0,
uri: 'http://example.com/00001.ts'
},
{
"duration": 10,
"timeline": 0,
"uri": "https://example.com/00002.ts"
duration: 10,
timeline: 0,
uri: 'https://example.com/00002.ts'
},
{
"duration": 10,
"timeline": 0,
"uri": "//example.com/00003.ts"
duration: 10,
timeline: 0,
uri: '//example.com/00003.ts'
},
{
"duration": 10,
"timeline": 0,
"uri": "http://example.com/00004.ts"
duration: 10,
timeline: 0,
uri: 'http://example.com/00004.ts'
}
],
"targetDuration": 10,
"endList": true,
"discontinuitySequence": 0,
"discontinuityStarts": []
}
targetDuration: 10,
endList: true,
discontinuitySequence: 0,
discontinuityStarts: []
};
222 changes: 111 additions & 111 deletions test/fixtures/integration/allowCache.js
Original file line number Diff line number Diff line change
@@ -1,164 +1,164 @@
module.exports = {
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [
allowCache: true,
mediaSequence: 0,
playlistType: 'VOD',
segments: [
{
"byterange": {
"length": 522828,
"offset": 0
byterange: {
length: 522828,
offset: 0
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 587500,
"offset": 522828
byterange: {
length: 587500,
offset: 522828
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 713084,
"offset": 1110328
byterange: {
length: 713084,
offset: 1110328
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 476580,
"offset": 1823412
byterange: {
length: 476580,
offset: 1823412
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 535612,
"offset": 2299992
byterange: {
length: 535612,
offset: 2299992
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 207176,
"offset": 2835604
byterange: {
length: 207176,
offset: 2835604
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 455900,
"offset": 3042780
byterange: {
length: 455900,
offset: 3042780
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 657248,
"offset": 3498680
byterange: {
length: 657248,
offset: 3498680
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 571708,
"offset": 4155928
byterange: {
length: 571708,
offset: 4155928
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 485040,
"offset": 4727636
byterange: {
length: 485040,
offset: 4727636
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 709136,
"offset": 5212676
byterange: {
length: 709136,
offset: 5212676
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 730004,
"offset": 5921812
byterange: {
length: 730004,
offset: 5921812
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 456276,
"offset": 6651816
byterange: {
length: 456276,
offset: 6651816
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 468684,
"offset": 7108092
byterange: {
length: 468684,
offset: 7108092
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 444996,
"offset": 7576776
byterange: {
length: 444996,
offset: 7576776
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 331444,
"offset": 8021772
byterange: {
length: 331444,
offset: 8021772
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
},
{
"byterange": {
"length": 44556,
"offset": 8353216
byterange: {
length: 44556,
offset: 8353216
},
"duration": 1.4167,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 1.4167,
timeline: 0,
uri: 'hls_450k_video.ts'
}
],
"targetDuration": 10,
"endList": true,
"discontinuitySequence": 0,
"discontinuityStarts": []
}
targetDuration: 10,
endList: true,
discontinuitySequence: 0,
discontinuityStarts: []
};
30 changes: 15 additions & 15 deletions test/fixtures/integration/allowCacheInvalid.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module.exports = {
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [
allowCache: true,
mediaSequence: 0,
playlistType: 'VOD',
segments: [
{
"byterange": {
"length": 522828,
"offset": 0
byterange: {
length: 522828,
offset: 0
},
"duration": 10,
"timeline": 0,
"uri": "hls_450k_video.ts"
duration: 10,
timeline: 0,
uri: 'hls_450k_video.ts'
}
],
"targetDuration": 10,
"endList": true,
"discontinuitySequence": 0,
"discontinuityStarts": []
}
targetDuration: 10,
endList: true,
discontinuitySequence: 0,
discontinuityStarts: []
};
Loading

0 comments on commit e09c7ed

Please sign in to comment.