Skip to content

Commit

Permalink
test: textStyle from kaltura player has get method which doesn't exis…
Browse files Browse the repository at this point in the history
…t on textStyle object (#363)

fix deep equal test.
  • Loading branch information
Yuvalke authored Oct 6, 2020
1 parent a74f596 commit d463067
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/src/setup.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ describe('setup', function () {
};
sandbox.stub(StorageWrapper, 'getItem').withArgs('textStyle').returns(textStyle);
kalturaPlayer = setup(config);
kalturaPlayer.textStyle.should.deep.equal(textStyle);
const textStyleObj = JSON.parse(JSON.stringify(kalturaPlayer.textStyle));
textStyleObj.should.deep.equal(textStyle);
});

it('should configure sources', function (done) {
Expand Down

0 comments on commit d463067

Please sign in to comment.