Skip to content

Commit e257303

Browse files
authored
removes redundant content.value (prebid#13552)
1 parent 73926f3 commit e257303

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

modules/jwplayerVideoProvider.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,6 @@ export const utils = {
836836
const formattedSegments = jwpsegs.reduce((convertedSegments, rawSegment) => {
837837
convertedSegments.push({
838838
id: rawSegment,
839-
value: rawSegment
840839
});
841840
return convertedSegments;
842841
}, []);

test/spec/modules/videoModule/submodules/jwplayerVideoProvider_spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,8 @@ describe('utils', function () {
10181018
it('should convert segments to objects', function () {
10191019
const segs = ['a', 'b'];
10201020
expect(getSegments(segs)).to.deep.equal([
1021-
{id: 'a', value: 'a'},
1022-
{id: 'b', value: 'b'}
1021+
{id: 'a'},
1022+
{id: 'b'}
10231023
]);
10241024
});
10251025
});
@@ -1031,7 +1031,7 @@ describe('utils', function () {
10311031
});
10321032

10331033
it('should set media id and segments', function () {
1034-
const segments = [{id: 'x', value: 'x'}];
1034+
const segments = [{id: 'x'}];
10351035
expect(getContentDatum('id1', segments)).to.deep.equal({
10361036
name: 'jwplayer.com',
10371037
segment: segments,

0 commit comments

Comments
 (0)