mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 17:24:46 +00:00
test: avoid line count filter allocations
This commit is contained in:
@@ -4282,7 +4282,7 @@ module.exports = { id: "throws-after-import", register() {} };`,
|
||||
},
|
||||
});
|
||||
|
||||
expect(registry.services.filter((entry) => entry.service.id === "shared-service")).toHaveLength(
|
||||
expect(countMatching(registry.services, (entry) => entry.service.id === "shared-service")).toBe(
|
||||
1,
|
||||
);
|
||||
expectNoDiagnosticContaining({
|
||||
|
||||
Reference in New Issue
Block a user