Skip to content

Commit 93c4480

Browse files
committed
fix linting issue in session test
1 parent ecccb72 commit 93c4480

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

test/session.test.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -956,8 +956,11 @@ describe('MediaSession', () => {
956956
mpMedia.logMediaSessionEnd(options);
957957

958958
// the 4th event in bond.args is the Media Session Summary which contains the mediaContentTimeSpent and mediaTimeSpent.
959-
const mpMediaContentTimeSpent = bond.args[3][0].options.customAttributes.media_content_time_spent;
960-
const mpMediaTimeSpent = bond.args[3][0].options.customAttributes.media_time_spent;
959+
const mpMediaContentTimeSpent =
960+
bond.args[3][0].options.customAttributes
961+
.media_content_time_spent;
962+
const mpMediaTimeSpent =
963+
bond.args[3][0].options.customAttributes.media_time_spent;
961964

962965
expect(mpMediaContentTimeSpent).to.not.eql(mpMediaTimeSpent);
963966

@@ -1030,8 +1033,11 @@ describe('MediaSession', () => {
10301033
mpMedia.logMediaSessionEnd(options);
10311034

10321035
// the 4th event in bond.args is the Media Session Summary which contains the mediaContentTimeSpent and mediaTimeSpent.
1033-
const mpMediaContentTimeSpent = bond.args[3][0].options.customAttributes.media_content_time_spent;
1034-
const mpMediaTimeSpent = bond.args[3][0].options.customAttributes.media_time_spent;
1036+
const mpMediaContentTimeSpent =
1037+
bond.args[3][0].options.customAttributes
1038+
.media_content_time_spent;
1039+
const mpMediaTimeSpent =
1040+
bond.args[3][0].options.customAttributes.media_time_spent;
10351041

10361042
expect(mpMediaContentTimeSpent).to.not.eql(mpMediaTimeSpent);
10371043

0 commit comments

Comments
 (0)