From 499eef1fc873c672dcdcc80f51624d4fae67551a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Wed, 26 Mar 2025 11:09:42 -0700 Subject: [PATCH] Rename LongTask as LongTasks in test (#50290) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50290 Changelog: [internal] Small rename as the official name of the API is LongTasks. Reviewed By: yungsters Differential Revision: D71734777 fbshipit-source-id: fac085e3b0d304f7d05087143c15d32cf2b0971b --- .../__tests__/{LongTaskAPI-itest.js => LongTasksAPI-itest.js} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename packages/react-native/src/private/webapis/performance/__tests__/{LongTaskAPI-itest.js => LongTasksAPI-itest.js} (99%) diff --git a/packages/react-native/src/private/webapis/performance/__tests__/LongTaskAPI-itest.js b/packages/react-native/src/private/webapis/performance/__tests__/LongTasksAPI-itest.js similarity index 99% rename from packages/react-native/src/private/webapis/performance/__tests__/LongTaskAPI-itest.js rename to packages/react-native/src/private/webapis/performance/__tests__/LongTasksAPI-itest.js index fe20d080d34..e6ec0eba386 100644 --- a/packages/react-native/src/private/webapis/performance/__tests__/LongTaskAPI-itest.js +++ b/packages/react-native/src/private/webapis/performance/__tests__/LongTasksAPI-itest.js @@ -42,7 +42,7 @@ function ensurePerformanceLongTaskTiming( return value; } -describe('LongTask API', () => { +describe('LongTasks API', () => { it('does NOT report short tasks (under 50ms)', () => { const callback = jest.fn();