@@ -266,9 +266,11 @@ describe('Client Metadata Update Prose Tests', function () {
266266
267267 // Since we have our own driver metadata getting added, we really want to just
268268 // assert that the last driver info values are appended at the end.
269- expect ( updatedClientMetadata . driver . name . endsWith ( 'library' ) ) . to . be . true ;
270- expect ( updatedClientMetadata . driver . version . endsWith ( '1.2' ) ) . to . be . true ;
271- expect ( updatedClientMetadata . platform . endsWith ( 'Library Platform' ) ) . to . be . true ;
269+ expect ( updatedClientMetadata . driver . name . endsWith ( 'framework' ) ) . to . be . true ;
270+ expect ( updatedClientMetadata . driver . version . endsWith ( version ? version : '1.2' ) ) . to . be
271+ . true ;
272+ expect ( updatedClientMetadata . platform . endsWith ( platform ? platform : 'Library Platform' ) )
273+ . to . be . true ;
272274 // - All other subfields in the client document remain unchanged from initialClientMetadata.
273275 // (Note os is the only one getting set in these tests)
274276 expect ( updatedClientMetadata . os ) . to . deep . equal ( initialClientMetadata . os ) ;
@@ -334,9 +336,11 @@ describe('Client Metadata Update Prose Tests', function () {
334336
335337 // Since we have our own driver metadata getting added, we really want to just
336338 // assert that the last driver info values are appended at the end.
337- expect ( updatedClientMetadata . driver . name . endsWith ( 'library' ) ) . to . be . true ;
338- expect ( updatedClientMetadata . driver . version . endsWith ( '1.2' ) ) . to . be . true ;
339- expect ( updatedClientMetadata . platform . endsWith ( 'Library Platform' ) ) . to . be . true ;
339+ expect ( updatedClientMetadata . driver . name . endsWith ( 'framework' ) ) . to . be . true ;
340+ expect ( updatedClientMetadata . driver . version . endsWith ( version ? version : '1.2' ) ) . to . be
341+ . true ;
342+ expect ( updatedClientMetadata . platform . endsWith ( platform ? platform : 'Library Platform' ) )
343+ . to . be . true ;
340344 // - All other subfields in the client document remain unchanged from initialClientMetadata.
341345 // (Note os is the only one getting set in these tests)
342346 expect ( updatedClientMetadata . os ) . to . deep . equal ( initialClientMetadata . os ) ;
0 commit comments