From 2d99d85976dcb28cc6e3bad4b6a00cd61a67a2cf Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Thu, 27 Jun 2019 03:58:05 +1000 Subject: [PATCH] fix(firefox): error message typo (#4623) --- experimental/puppeteer-firefox/lib/Page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/puppeteer-firefox/lib/Page.js b/experimental/puppeteer-firefox/lib/Page.js index 966f5c75..927af21b 100644 --- a/experimental/puppeteer-firefox/lib/Page.js +++ b/experimental/puppeteer-firefox/lib/Page.js @@ -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'; }