Skip to content

Commit 0276ad7

Browse files
committed
silent tests
1 parent 1f4c17f commit 0276ad7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/specs/run-spec.js

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ function runSpecs(title, dir, showCompletionTable, options) {
1616
spec.options = Object.assign({}, options, (spec.options || {}));
1717
const example = (spec.example ? ' example ' + spec.example : '');
1818
const passFail = (spec.shouldFail ? 'fail' : 'pass');
19+
if (typeof spec.options.silent === 'undefined') {
20+
spec.options.silent = true;
21+
}
1922
if (spec.options.sanitizer) {
2023
// eslint-disable-next-line no-eval
2124
spec.options.sanitizer = eval(spec.options.sanitizer);

0 commit comments

Comments
 (0)