mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
test: strengthen independent oracles and consolidate boundary coverage
Require delivered facts, exact cancellation and malformed-input boundaries, and independent metadata expectations. Transfer unique assertions into stronger keepers before removing duplicate cases and overwritten fixture writes; preserve all consumed core fixture bytes. Validation: 1,190 focused tests passed with 39 platform-dependent skips; 134 composition and conformance tests passed. Typecheck, lint, formatting, discovery and Knip passed. Independent preservation reviews and targeted regression controls passed.
This commit is contained in:
1 parent
31018cf037
commit
dcee59f273
34 files changed
+408
-618
No files matched your search
@@ -70,8 +70,8 @@ it.each([false, true])(
|
||||
cancelled: !cancelled.ok && (cancelled.error.error.cleanupPrimary ?? cancelled.error.error)._tag === 'AnalysisCancelledError',
|
||||
exactReason: !cancelled.ok && (cancelled.error.error.cleanupPrimary ?? cancelled.error.error).cause === reason,
|
||||
cleanupIncomplete: !cancelled.ok && cancelled.error.error.cleanupIncomplete,
|
||||
parseStatus: facts.javascript?.parse_status, hasModule: facts.module !== null,
|
||||
hasProjection: facts.projection !== null, reusable: worker.canReuse() };
|
||||
parseStatus: facts.javascript?.parse_status, hasModule: facts.module != null,
|
||||
hasProjection: facts.projection != null, exportedNames: facts.module?.moduleLinks.filter(link => link.kind === 'export').map(link => link.exportedName), projectedModule: facts.projection?.nodes.some(node => node.kind === 'module' && node.identity.module_path === 'cancelled.mjs'), reusable: worker.canReuse() };
|
||||
} finally {
|
||||
fs.promises.rm = nativeRm;
|
||||
syncBuiltinESMExports();
|
||||
@@ -101,6 +101,8 @@ it.each([false, true])(
|
||||
parseStatus: "complete",
|
||||
hasModule: true,
|
||||
hasProjection: true,
|
||||
exportedNames: ["observed"],
|
||||
projectedModule: true,
|
||||
reusable: false,
|
||||
rootRemoved: true,
|
||||
childExited: true,
|
||||
|
||||
Reference in new issue
Block a user