import React from "react";
import { render } from "@testing-library/react-native";
import Video from "./video";
import { ThemeProvider } from "../../../theme/src/theme-context";
import { ResizeMode } from "expo-av";
jest.useFakeTimers();
describe("Atoms/Video", () => {
  it("passes the snapshot test", () => {
    const tree = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Video, {
      source: {
        uri: "https://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4"
      },
      useNativeControls: true,
      resizeMode: ResizeMode.CONTAIN
    }))).toJSON();
    expect(tree).toMatchSnapshot();
  });
});
//# sourceMappingURL=video.spec.js.map