Skip to content

Commit

Permalink
Remove type assertion that is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Dec 26, 2024
1 parent 7710c4f commit 60cb36b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions __tests__/backend/utils/DriveBackedValue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ test("DriveBackedValue loads a value - the folder exists, the value exists", ()
};
const driveServiceMock = mockedSafeDriveService();
driveServiceMock.Files.get.mockReturnValueOnce(
// Incorrect upstream typings, string is actually permissible
JSON.stringify("VALUE") as unknown as GoogleAppsScript.Drive.Schema.File,
JSON.stringify("VALUE"),
);
driveServiceMock.Files.list
.mockReturnValueOnce(response1)
Expand Down

0 comments on commit 60cb36b

Please sign in to comment.