Skip to content

Commit d23d3ab

Browse files
committed
test(sharing): keep boot()'s doc comment on boot(), not on BootOptions
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y26DJEHSBhhAQ6wwfsHNza
1 parent 5332ab4 commit d23d3ab

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

packages/plugins/plugin-sharing/src/share-link-eligibility.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,6 @@ afterEach(async () => {
9494
}
9595
});
9696

97-
/**
98-
* A real backend behind the real service.
99-
*
100-
* Only the verbs `ShareLinkService` actually calls are exposed; `getSchema` is
101-
* the in-memory registry read the engine performs, so the policy the service
102-
* reads is the object's declared one.
103-
*/
10497
interface BootOptions {
10598
/**
10699
* The object definition the DRIVER is initialised from, when it must differ
@@ -118,6 +111,13 @@ interface BootOptions {
118111
shapeRow?: (row: any) => any;
119112
}
120113

114+
/**
115+
* A real backend behind the real service.
116+
*
117+
* Only the verbs `ShareLinkService` actually calls are exposed; `getSchema` is
118+
* the in-memory registry read the engine performs, so the policy the service
119+
* reads is the object's declared one.
120+
*/
121121
async function boot(article: any = ARTICLE, options: BootOptions = {}) {
122122
const driver = new SqlDriver({
123123
client: 'better-sqlite3',

0 commit comments

Comments
 (0)