RN: Migrate to ESM - BackHandler (#51439)

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

Migrates the `BackHandler` mock to use ESM to mitigate the existing lint warning.

I'm actually not sure this is even used anywhere… and the unmocked `BackHandler` is already using ESM.

Changelog:
[Internal]

Reviewed By: SamChou19815

Differential Revision: D74949885

fbshipit-source-id: 7f37212db2125bb7afdbd342175e3beae6c7c14f
This commit is contained in:
Tim Yung
2025-05-18 08:08:24 -07:00
committed by Facebook GitHub Bot
parent 4434707967
commit 77f2cb27be
@@ -42,4 +42,4 @@ const BackHandler = {
},
};
module.exports = BackHandler;
export default BackHandler;