Spaces:
Sleeping
Sleeping
function testScript() { | |
var script = new Script(); | |
script.main(); | |
var driveFile = DriveApp.getFileById('YOUR_DRIVE_FILE_ID'); | |
var imageData = driveFile.getBlob().getBytes(); | |
var expectedImageData = // Replace with expected image data | |
assertEquals(imageData, expectedImageData); | |
} |