Skip to content

Commit 1c5162b

Browse files
committed
fix: add missing getDistinctDirectories to test stubs for type safety
1 parent e9d7f4b commit 1c5162b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/dashboard/daily-tokens-service.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function makeStubRepos(
1919
sessions: {
2020
getRootSessions: () => [],
2121
getChildSessions: () => [],
22+
getDistinctDirectories: () => [],
2223
upsert: () => {},
2324
upsertFull: () => {},
2425
deleteOrphaned: () => 0,

tests/unit/dashboard/maintenance-service.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ function makeStubRepos(): Repos {
77
sessions: {
88
getRootSessions: () => [],
99
getChildSessions: () => [],
10+
getDistinctDirectories: () => [],
1011
upsert: () => {},
1112
upsertFull: () => {},
1213
deleteOrphaned: () => 0,

0 commit comments

Comments
 (0)