From 480549442f8381c1964344327f1557b23746ab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ben=20Z=C3=B6rb?= Date: Wed, 20 May 2020 00:32:21 +0200 Subject: [PATCH] fix linter warnings --- index.js | 1 - test/index.test.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 36358da..9f176a6 100644 --- a/index.js +++ b/index.js @@ -51,7 +51,6 @@ function normalizePath(str) { function inline(html, styles, options) { const o = {...DEFAULT_OPTIONS, ...(options || {})}; - // console.log(o); if (!isString(html)) { html = String(html); } diff --git a/test/index.test.js b/test/index.test.js index ca9dea8..0eaab49 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -636,4 +636,6 @@ test('Remove stylesheets', async () => { expect(out2.toString('utf8')).not.toMatch('css/cartoon.css'); expect(out2.toString('utf8')).not.toMatch('css/bootstrap.css'); + expect(out.toString('utf8')).not.toMatch('css/bootstrap.css'); + expect(out.toString('utf8')).not.toMatch('css/bootstrap.css'); });