fix(tests): clear lint and typecheck errors on main
Split two over-long test functions into module-level helpers (max-lines-per-function): IdaSessionClient transport cases, IDA provider composition, and function comparison identity cases keep their names and assertions. Also fix three typecheck errors: default omitted direct_invokes_exhaustive to null so the result schema stays JsonValue compatible, parse the ghidra dossier before spreading it, and delete the optional beforeCall hook instead of assigning undefined under exactOptionalPropertyTypes.
This commit is contained in:
@@ -188,7 +188,7 @@ export const androidResultSchemas = {
|
||||
source_line: z.null(),
|
||||
dex_offset: z.null(),
|
||||
/** false means transport-bounded instruction evidence; null/omitted is unknown. */
|
||||
direct_invokes_exhaustive: z.boolean().nullable().optional(),
|
||||
direct_invokes_exhaustive: z.boolean().nullable().default(null),
|
||||
/** Raw direct invoke instructions inside this using node, when available. */
|
||||
direct_invokes: z
|
||||
.array(
|
||||
|
||||
Reference in New Issue
Block a user