Skip to content

Commit

Permalink
Make 'verbose' explicit in lint test to avoid failures
Browse files Browse the repository at this point in the history
The tests in lint.test.js fails if you have a speccy.yaml config file
with 'verbose: true' because all the tests spying on the messages
sent to the console through log(), warn() and error() methods and
asserting the quantity of calls.

Making it explicit as the default config for those tests allows us to
run them even if we have a speccy.yaml in the root directory.
  • Loading branch information
Martin D'Aloia committed May 19, 2019
1 parent 29fb391 commit f7ba6d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/lint.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const lint = require('../../lint.js');

const commandConfig = {
quiet: false,
verbose: false,
rules: [],
skip: []
};
Expand Down

0 comments on commit f7ba6d5

Please sign in to comment.