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'); });