diff --git a/__tests__/index.test.js b/__tests__/index.test.js index 3b538b9..58776b2 100644 --- a/__tests__/index.test.js +++ b/__tests__/index.test.js @@ -3,9 +3,9 @@ import stylelint from 'stylelint'; import validCSS from './lib/valid-css'; import invalidCSS from './lib/invalid-css'; import test from 'ava'; -import util from 'util'; -const { inspect } = util; +// import util from 'util'; +// const { inspect } = util; test('no warnings with valid CSS', async t => { const { errored, results } = await stylelint.lint({ @@ -15,8 +15,6 @@ test('no warnings with valid CSS', async t => { }); const { warnings } = results[0]; - console.log(`results: ${inspect(results)}`); - console.log(`warnings: ${inspect(warnings)}`); t.false(errored, 'no rules with an "error"-level severity registered a warning'); t.is(warnings.length, 0, 'no errored'); diff --git a/__tests__/lib/invalid-css.js b/__tests__/lib/invalid-css.js index 1272257..2df0f1e 100644 --- a/__tests__/lib/invalid-css.js +++ b/__tests__/lib/invalid-css.js @@ -1,3 +1,4 @@ +/* global module */ module.exports = ( `#id-selector { color: red; diff --git a/__tests__/lib/valid-css.js b/__tests__/lib/valid-css.js index 49be013..7cee0c7 100644 --- a/__tests__/lib/valid-css.js +++ b/__tests__/lib/valid-css.js @@ -1,3 +1,4 @@ +/* global module */ module.exports = ( `/** * Multi-line comment