mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 12:50:43 +00:00
test: tighten topology helper
This commit is contained in:
@@ -38,7 +38,6 @@ function requireRecordByExport(exportName: string) {
|
||||
const record = publicSurfaceEnvelope.records.find((entry) =>
|
||||
entry.exportNames.includes(exportName),
|
||||
);
|
||||
expect(record).toBeDefined();
|
||||
if (!record) {
|
||||
throw new Error(`Expected topology record for ${exportName}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user