ResourceLoaderTestModules hook is deprecated and almost all deployed extensions are migrated (see checklist in parent task).
It seems MobileFrontend was initially using QUnitTestModule attribute (the recommended alternative) but was purposely changed to use this hook r499533 for reasons mentioned there . Also, the change was after the hook deprecation, so not sure whether that's intentional too.