File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,15 @@ import { appDistributionOrigin } from "../api";
1010import {
1111 AabInfo ,
1212 BatchRemoveTestersResponse ,
13+ BatchUpdateTestCasesRequest ,
14+ BatchUpdateTestCasesResponse ,
1315 Group ,
1416 ListGroupsResponse ,
1517 ListTestCasesResponse ,
1618 ListTestersResponse ,
1719 LoginCredential ,
18- mapDeviceToExecution ,
1920 ReleaseTest ,
2021 TestCase ,
21- BatchUpdateTestCasesRequest ,
22- BatchUpdateTestCasesResponse ,
2322 TestDevice ,
2423 Tester ,
2524 UploadReleaseResponse ,
@@ -284,7 +283,7 @@ export class AppDistributionClient {
284283 method : "POST" ,
285284 path : `${ releaseName } /tests` ,
286285 body : {
287- deviceExecutions : devices . map ( mapDeviceToExecution ) ,
286+ deviceExecutions : devices . map ( ( device ) => ( { device } ) ) ,
288287 loginCredential,
289288 testCase : testCaseName ,
290289 } ,
Original file line number Diff line number Diff line change @@ -100,17 +100,6 @@ export interface DeviceExecution {
100100 inconclusiveReason ?: string ;
101101}
102102
103- export function mapDeviceToExecution ( device : TestDevice ) : DeviceExecution {
104- return {
105- device : {
106- model : device . model ,
107- version : device . version ,
108- orientation : device . orientation ,
109- locale : device . locale ,
110- } ,
111- } ;
112- }
113-
114103export interface FieldHints {
115104 usernameResourceName ?: string ;
116105 passwordResourceName ?: string ;
You can’t perform that action at this time.
0 commit comments