aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_drive_sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_drive_sync.py')
-rw-r--r--packages/meshbay-hub/tests/test_drive_sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_drive_sync.py b/packages/meshbay-hub/tests/test_drive_sync.py
index d46ac66..7fc35d2 100644
--- a/packages/meshbay-hub/tests/test_drive_sync.py
+++ b/packages/meshbay-hub/tests/test_drive_sync.py
@@ -75,7 +75,9 @@ fake.transport = {
const hubFetch = async () => ({ admin_id: 'u-bob', members: fake.members, invited: [] });
win.meshbay = { driveSync: {
status: async () => fake.status,
- plan: async () => { fake.log.push(['plan']); return { items: fake.items }; },
+ plan: async () => { fake.log.push(['plan']); return { items: fake.items, manifest: false }; },
+ manifest: async () => ({ item: null }),
+ manifestSent: async () => true,
sent: async (token, dir, name) => { fake.log.push(['sent', token, dir, name]); return true; },
completed: async () => { fake.log.push(['completed']); fake.status.lastCompleted = Date.now(); return fake.status; },
failed: async (code, text) => { fake.log.push(['failed', code, text]); return true; },