We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f9ead commit eb08505Copy full SHA for eb08505
lib/base.js
@@ -28,6 +28,10 @@ function Base (options) {
28
this.parent = ownOr(options, 'parent', null)
29
this.bail = ownOrEnv(options, 'bail', 'TAP_BAIL', true)
30
this.name = ownOr(options, 'name', '')
31
+ if (!this.name)
32
+ this.name = ''
33
+ else
34
+ this.name = this.name.replace(/[\n\r\s\t]/g, ' ')
35
this.indent = ownOr(options, 'indent', '')
36
this.silent = !!options.silent
37
this.buffered = !!options.buffered || !!options.silent
0 commit comments