File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ declare module '@reportportal/client-javascript' {
268268 /**
269269 * Initializes a new Report Portal client.
270270 */
271- constructor ( config : ReportPortalConfig , agentInfo ?: { name ?: string ; version ?: string } ) ;
271+ constructor ( config : ReportPortalConfig , agentInfo ?: { name ?: string ; version ?: string ; framework_version ?: string } ) ;
272272
273273 /**
274274 * Starts a new launch.
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ class Statistics {
2424 if ( agentParams && hasOption ( agentParams , 'version' ) && agentParams . version ) {
2525 params . agent_version = agentParams . version ;
2626 }
27+ if (
28+ agentParams &&
29+ hasOption ( agentParams , 'framework_version' ) &&
30+ agentParams . framework_version
31+ ) {
32+ params . framework_version = agentParams . framework_version ;
33+ }
2734 return params ;
2835 }
2936
You can’t perform that action at this time.
0 commit comments