Skip to content

Commit

Permalink
silent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Jul 2, 2019
1 parent 75a5e0c commit 0602fdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/specs/run-spec.js
Expand Up @@ -16,6 +16,9 @@ function runSpecs(title, dir, showCompletionTable, options) {
spec.options = Object.assign({}, options, (spec.options || {}));
const example = (spec.example ? ' example ' + spec.example : '');
const passFail = (spec.shouldFail ? 'fail' : 'pass');
if (typeof spec.options.silent === 'undefined') {
spec.options.silent = true;
}
if (spec.options.sanitizer) {
// eslint-disable-next-line no-eval
spec.options.sanitizer = eval(spec.options.sanitizer);
Expand Down

0 comments on commit 0602fdf

Please sign in to comment.