Skip to content

Commit

Permalink
ci: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
XeroxDev committed Apr 15, 2022
1 parent 95aecfd commit 4fb5627
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/actions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,15 @@ describe('Testing all actions', () => {
it('should change title', () => {
playPause.handlePlayerData(fakeWillAppearEvent, <
TrackAndPlayerInterface
>{player: {seekbarCurrentPositionHuman: '01:23'}});
expect(fakeApi.title).to.be.equals('01:23');
>{player: {seekbarCurrentPosition: 90}});
expect(fakeApi.title).to.be.equals('01:30');
});
it('should change state to OFF', () => {
playPause.handlePlayerData(fakeWillAppearEvent, <
TrackAndPlayerInterface
>{
player: {
seekbarCurrentPositionHuman: '01:23',
seekbarCurrentPosition: 90,
isPaused: false,
},
});
Expand All @@ -311,7 +311,7 @@ describe('Testing all actions', () => {
TrackAndPlayerInterface
>{
player: {
seekbarCurrentPositionHuman: '01:23',
seekbarCurrentPosition: 90,
isPaused: true,
},
});
Expand Down

0 comments on commit 4fb5627

Please sign in to comment.