Replace module-relative paths with RN package-relative paths in some tests (#50490)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50490

Changelog: [internal]

This follows the good practice in Fantom tests.

Reviewed By: javache

Differential Revision: D72454795

fbshipit-source-id: 412ee53f61073c63295a23fd7decd6f19a72bf99
This commit is contained in:
Rubén Norte authored and Facebook GitHub Bot committed 2025-04-04 07:44:44 -07:00
1 parent 3f8134880c
commit e17a6caf0a
2 files changed
+2 -2

No files matched your search

@@ -11,10 +11,10 @@
import 'react-native/Libraries/Core/InitializeCore';
import NativeAnimatedHelper from '../NativeAnimatedHelper';
import * as Fantom from '@react-native/fantom';
import * as React from 'react';
import {Animated} from 'react-native';
import NativeAnimatedHelper from 'react-native/src/private/animated/NativeAnimatedHelper';
function mockNativeAnimatedHelperAPI() {
const mocks = {
@@ -12,8 +12,8 @@
import 'react-native/Libraries/Core/InitializeCore';
import type IntersectionObserverType from '../IntersectionObserver';
import type {Root} from '@react-native/fantom';
import type IntersectionObserverType from 'react-native/src/private/webapis/intersectionobserver/IntersectionObserver';
import ensureInstance from '../../../__tests__/utilities/ensureInstance';
import * as Fantom from '@react-native/fantom';