Skip to content

Commit

Permalink
Updated tests for Drive v3
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Dec 27, 2024
1 parent 94f5165 commit ab96eb7
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 65 deletions.
8 changes: 4 additions & 4 deletions __tests__/backend/listFolders.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ test("listFolders works correctly", () => {

const rawResponse = {
files: [
{ id: "ID1", title: "FOLDER1" },
{ id: "ID2", title: "FOLDER2" },
{ id: "ID1", name: "FOLDER1" },
{ id: "ID2", name: "FOLDER2" },
],
nextPageToken: undefined,
};
Expand Down Expand Up @@ -78,12 +78,12 @@ test("listFolders works correctly with shortcuts", () => {
{
id: "ID1",
mimeType: "application/vnd.google-apps.shortcut",
name: "FOLDER1",
shortcutDetails: {
targetId: "TRUE_ID1",
},
title: "FOLDER1",
},
{ id: "ID2", title: "FOLDER2" },
{ id: "ID2", name: "FOLDER2" },
],
nextPageToken: undefined,
};
Expand Down
Loading

0 comments on commit ab96eb7

Please sign in to comment.