Skip to content

Commit c0b116e

Browse files
committed
Fix javascript return error
1 parent cc9d30f commit c0b116e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/test/E2ETestMigration/Tests/InputFileTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public async Task CanUploadAndConvertImageFile()
166166
canvas.height = image.naturalHeight;
167167
context.drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight);
168168
169-
return canvas.toDataURL().split(',').pop();");
169+
canvas.toDataURL().split(',').pop();");
170170

171171
// Save the image file locally
172172
var file = TempFile.Create(_tempDirectory, "png", Convert.FromBase64String(base64));

0 commit comments

Comments
 (0)