aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/server/routes/sync.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/routes/sync.test.ts')
-rw-r--r--src/server/routes/sync.test.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/routes/sync.test.ts b/src/server/routes/sync.test.ts
index e1b389f..7492b49 100644
--- a/src/server/routes/sync.test.ts
+++ b/src/server/routes/sync.test.ts
@@ -584,6 +584,8 @@ describe("GET /api/sync/pull", () => {
const mockCard: Card = {
id: "550e8400-e29b-41d4-a716-446655440001",
deckId: "550e8400-e29b-41d4-a716-446655440000",
+ noteId: null,
+ isReversed: null,
front: "Question",
back: "Answer",
state: 2,
@@ -679,6 +681,8 @@ describe("GET /api/sync/pull", () => {
const mockCard: Card = {
id: "550e8400-e29b-41d4-a716-446655440001",
deckId: "550e8400-e29b-41d4-a716-446655440000",
+ noteId: null,
+ isReversed: null,
front: "Q",
back: "A",
state: 0,