Skip to content

Commit 813c4a4

Browse files
committed
test(service-messaging): narrow the exported values to object schemas before reading names
Claude-Session: https://claude.ai/code/session_01TQLy3Yq6vF4SDpTXdr3Uwi Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8b9c31e commit 813c4a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/services/service-messaging/src/objects/admin-copy-vocabulary.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe('messaging objects: admin-facing copy carries no design-record vocabula
9494
});
9595

9696
it('object, field and view copy of every object this package exports', () => {
97-
const objects = Object.values(MessagingObjects).filter(isObjectSchema);
97+
const objects: ObjectLike[] = (Object.values(MessagingObjects) as unknown[]).filter(isObjectSchema);
9898
const names = objects.map((o) => o.name);
9999
for (const name of [
100100
'sys_notification_preference', 'sys_notification_subscription', 'sys_notification_template',

0 commit comments

Comments
 (0)