File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ const TestInfo: React.FC<{ config: Config.GlobalConfig }> = ({ config }) => {
31
31
}
32
32
33
33
if ( config . testPathPattern ) {
34
- const prefix = config . findRelatedTests
35
- ? 'related to files matching'
36
- : 'matching' ;
37
-
38
34
return (
39
35
< Box >
40
- < HorizontallyPadded > { prefix } </ HorizontallyPadded >
36
+ < HorizontallyPadded >
37
+ < Color dim >
38
+ { config . findRelatedTests ? 'related to files matching' : 'matching' }
39
+ </ Color >
40
+ </ HorizontallyPadded >
41
41
< Text >
42
42
{ testPathPatternToRegExp ( config . testPathPattern ) . toString ( ) }
43
43
</ Text >
@@ -55,11 +55,12 @@ const NameInfo: React.FC<{ config: Config.GlobalConfig }> = ({ config }) => {
55
55
56
56
if ( config . testNamePattern ) {
57
57
return (
58
- < LeftPadded >
59
- < Color dim >
60
- with tests matching "{ config . testNamePattern } "
61
- </ Color >
62
- </ LeftPadded >
58
+ < >
59
+ < HorizontallyPadded >
60
+ < Color dim > with tests matching</ Color >
61
+ </ HorizontallyPadded >
62
+ < Text > "{ config . testNamePattern } "</ Text >
63
+ </ >
63
64
) ;
64
65
}
65
66
You can’t perform that action at this time.
0 commit comments