Skip to content

Commit d223053

Browse files
committed
fix: revert var rename
1 parent 6f967aa commit d223053

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

__mocks__/react-native-track-player.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ export const testApi = {
4646
setPlaybackState: (state: State) => {
4747
playbackState = state;
4848
},
49-
setPosition: (seconds: number) => {
50-
position = seconds;
49+
setPosition: (sec: number) => {
50+
position = sec;
5151
},
52-
setDuration: (seconds: number) => {
53-
duration = seconds;
52+
setDuration: (sec: number) => {
53+
duration = sec;
5454
},
5555
advance: (ms: number) => {
5656
position = Math.min(duration, position + ms / 1000);

0 commit comments

Comments
 (0)