Skip to content

Commit 51c4d1e

Browse files
committed
test(runtime): read the pair's published row with a typed driver query
Claude-Session: https://claude.ai/code/session_01JQwxbac7S1AsbGi5a46PrB Co-authored-by: Claude <noreply@anthropic.com>
1 parent e373cc1 commit 51c4d1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/runtime/src/domains/packages-export-base-showcase-boot.integration.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ async function boot(dir: string, { installPair }: { installPair: boolean }) {
257257
protocol,
258258
/** The pair's active (published) rows of `(type, name)`, read off the store. */
259259
async publishedRows(type: string, name: string): Promise<unknown[]> {
260-
return await driver.find('sys_metadata', { where: { type, name, package_id: PAIR, state: 'active' } } as any) as unknown[];
260+
return await driver.find('sys_metadata', { where: { type, name, package_id: PAIR, state: 'active' } });
261261
},
262262
async exported(id: string): Promise<Record<string, any>> {
263263
const res = await dispatcher.handlePackages(`/${encodeURIComponent(id)}/export`, 'GET', undefined, {}, CALLER);

0 commit comments

Comments
 (0)