File size: 291 Bytes
1f074d8
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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);
}