Remove mock (#3287)

This commit is contained in:
Johannes Klein
2025-12-12 21:02:54 +01:00
committed by GitHub
parent 2c6eb6622a
commit 741f053716

View File

@@ -2,12 +2,9 @@ import { render, screen, waitFor } from "@testing-library/react-native";
import ObsMedia from "components/ObsDetails/ObsMedia";
import _ from "lodash";
import React from "react";
import { Image } from "react-native";
import factory from "tests/factory";
import faker from "tests/helpers/faker";
Image.getSize = jest.fn( ( _uri, _callback ) => async () => ( { width: 1024, height: 768 } ) );
const mockObservation = factory( "LocalObservation", {
created_at: "2022-11-27T19:07:41-08:00",
time_observed_at: "2023-12-14T21:07:41-09:30",