aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/sync/push.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/sync/push.test.ts')
-rw-r--r--src/client/sync/push.test.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/sync/push.test.ts b/src/client/sync/push.test.ts
index 79a9d4a..911a8d3 100644
--- a/src/client/sync/push.test.ts
+++ b/src/client/sync/push.test.ts
@@ -9,7 +9,7 @@ import {
localDeckRepository,
localReviewLogRepository,
} from "../db/repositories";
-import { pendingChangesToPushData, PushService } from "./push";
+import { PushService, pendingChangesToPushData } from "./push";
import { SyncQueue } from "./queue";
describe("pendingChangesToPushData", () => {
@@ -450,7 +450,9 @@ describe("PushService", () => {
newCardsPerDay: 20,
});
- const pushToServer = vi.fn().mockRejectedValue(new Error("Network error"));
+ const pushToServer = vi
+ .fn()
+ .mockRejectedValue(new Error("Network error"));
const pushService = new PushService({
syncQueue,