refactor(tools): remove artificial analysis ceilings
This commit is contained in:
@@ -26,6 +26,15 @@ it("reconstructs package, Electron roles, Webpack/Rspack modules, and cross-laye
|
||||
|
||||
expect(Reflect.get(globalThis, "__rea_bundle_executed")).toBeUndefined();
|
||||
expect(result.input_path).toBe(root);
|
||||
const longPath = `/${"deep/".repeat(4_000)}application`;
|
||||
const { electron_summary: summary, ...analysisResult } = result;
|
||||
expect(
|
||||
javascriptApplicationAnalysisResultSchema.parse({
|
||||
...analysisResult,
|
||||
summary,
|
||||
input_path: longPath,
|
||||
}).input_path,
|
||||
).toBe(longPath);
|
||||
expect(result.statistics).toMatchObject({
|
||||
modules: 4,
|
||||
parse_failures: 0,
|
||||
|
||||
Reference in New Issue
Block a user