(info: JSONObject)
| 1968 | } |
| 1969 | |
| 1970 | function infoAnnouncementKey(info: JSONObject): string { |
| 1971 | const appHierarchy = objectValue(info.appHierarchy); |
| 1972 | const nativeScript = objectValue(info.nativeScript); |
| 1973 | return JSON.stringify({ |
| 1974 | processIdentifier: info.processIdentifier, |
| 1975 | bundleIdentifier: info.bundleIdentifier, |
| 1976 | sourceRoot: info.sourceRoot, |
| 1977 | appHierarchyAvailable: Boolean(appHierarchy.available), |
| 1978 | nativeScriptAvailable: Boolean(nativeScript.available), |
| 1979 | }); |
| 1980 | } |
| 1981 | |
| 1982 | function nativeScriptAvailable(info: JSONObject): boolean { |
| 1983 | const appHierarchy = objectValue(info.appHierarchy); |
no test coverage detected