only add index when length > 1
This commit is contained in:
parent
d1273ad1b6
commit
87407618d9
|
|
@ -170,7 +170,7 @@ function createGlobalSetupTask(index: number, length: number): Task<TestRun> {
|
||||||
let teardownHook: any;
|
let teardownHook: any;
|
||||||
|
|
||||||
let title = 'global setup';
|
let title = 'global setup';
|
||||||
if (length)
|
if (length > 1)
|
||||||
title += ` #${index}`;
|
title += ` #${index}`;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue