Skip to content

Commit

Permalink
clean up eslint errors from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianSipple committed Dec 19, 2016
1 parent 53397aa commit 3349de3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions __tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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');
Expand Down
1 change: 1 addition & 0 deletions __tests__/lib/invalid-css.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global module */
module.exports = (
`#id-selector {
color: red;
Expand Down
1 change: 1 addition & 0 deletions __tests__/lib/valid-css.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global module */
module.exports = (
`/**
* Multi-line comment
Expand Down

0 comments on commit 3349de3

Please sign in to comment.