Skip to content

Commit 10195b5

Browse files
committed
test: align HarmonyOS readiness fixture
1 parent ab519d8 commit 10195b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/daemon/handlers/__tests__/session-inventory-harmonyos.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const listAppsOperation: PlatformRuntimeOperations['listApps'] = vi.fn(async ({
3131
]
3232
: [{ id: 'com.example.application', name: 'application' }],
3333
);
34-
const ensureReady = vi.fn(async (device: typeof HARMONY_DEVICE) => ({
35-
...device,
34+
const ensureReady = vi.fn(async () => ({
35+
...HARMONY_DEVICE,
3636
booted: true,
3737
}));
3838

0 commit comments

Comments
 (0)