fix(firefox): error message typo (#4623)

This commit is contained in:
Andrey Sidorov 2019-06-27 03:58:05 +10:00 committed by Andrey Lushnikov
parent 4ccd52c309
commit 2d99d85976

View File

@ -797,7 +797,7 @@ function getScreenshotMimeType(options) {
const fileType = mime.getType(options.path);
if (fileType === 'image/png' || fileType === 'image/jpeg')
return fileType;
throw new Error('Unsupported screnshot mime type: ' + fileType);
throw new Error('Unsupported screenshot mime type: ' + fileType);
}
return 'image/png';
}