"use strict";

var _react = _interopRequireDefault(require("react"));
var _reactNative = require("@testing-library/react-native");
var _video = _interopRequireDefault(require("./video"));
var _themeContext = require("../../../theme/src/theme-context");
var _expoAv = require("expo-av");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
jest.useFakeTimers();
describe("Atoms/Video", () => {
  it("passes the snapshot test", () => {
    const tree = (0, _reactNative.render)( /*#__PURE__*/_react.default.createElement(_themeContext.ThemeProvider, null, /*#__PURE__*/_react.default.createElement(_video.default, {
      source: {
        uri: "https://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4"
      },
      useNativeControls: true,
      resizeMode: _expoAv.ResizeMode.CONTAIN
    }))).toJSON();
    expect(tree).toMatchSnapshot();
  });
});
//# sourceMappingURL=video.spec.js.map