Skip to content

Commit 65ab9b2

Browse files
committed
test(metadata): type the S1 table read's options as never, not any (#32812)
The query-options erasure ratchet counted the S1 pin's driver.find options cast to any as a 237th test site. Use the file's own as never idiom. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgVHhRMN8oWxaL4Ph3X
1 parent 317349a commit 65ab9b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/metadata/src/loaders/database-loader.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ describe('[#32791] a stored package-less row the boot pass files under the host\
25982598
return [item?._packageId, item?._provenance];
25992599
};
26002600
const listed = async (m: MetadataManager) => ((await m.list('action')) as Array<{ label?: string }>).map((item) => item.label).sort();
2601-
const tableOf = async () => ((await driver.find('sys_metadata', { where: { type: 'action' } } as any)) as Array<Record<string, unknown>>)
2601+
const tableOf = async () => ((await driver.find('sys_metadata', { where: { type: 'action' } } as never)) as Array<Record<string, unknown>>)
26022602
.map((row) => [row.package_id ?? null, row.version]).sort();
26032603
driver = createMockDriver();
26042604
await seedRows([[ALPHA], [null]]);

0 commit comments

Comments
 (0)