Skip to content

Commit eb44c34

Browse files
committed
chore: type update
1 parent be581ef commit eb44c34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/pluggableWidgets/video-player-native/src/__tests__/VideoPlayer.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { dynamicValue } from "@mendix/piw-utils-internal";
22
import { createElement } from "react";
33
import { Modal, View } from "react-native";
44
import { fireEvent, render, waitFor } from "@testing-library/react-native";
5-
import { VideoProperties } from "react-native-video";
5+
import { ReactVideoProps } from "react-native-video";
66

77
import { VideoPlayer } from "../VideoPlayer";
88
import { VideoPlayerProps } from "../../typings/VideoPlayerProps";
@@ -38,7 +38,7 @@ describe("VideoPlayer", () => {
3838

3939
it("passes the right props to the video player", () => {
4040
const component = render(<VideoPlayer {...defaultProps} />);
41-
const props = component.getByTestId("video-player-test").props as VideoProperties;
41+
const props = component.getByTestId("video-player-test").props as ReactVideoProps;
4242

4343
expect(props.source).toEqual({ uri: "https://mendix.com/video.mp4" });
4444
expect(props.paused).toBe(true);

0 commit comments

Comments
 (0)