File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ describe("distribution", () => {
327
327
328
328
it ( "should throw error if request fails" , async ( ) => {
329
329
nock ( appDistributionOrigin )
330
- . post ( `/v1alpha/${ releaseName } ` )
330
+ . post ( `/v1alpha/${ releaseName } /tests ` )
331
331
. reply ( 400 , { error : { status : "FAILED_PRECONDITION" } } ) ;
332
332
await expect (
333
333
appDistributionClient . createReleaseTest ( releaseName , mockDevices ) ,
@@ -336,7 +336,7 @@ describe("distribution", () => {
336
336
} ) ;
337
337
338
338
it ( "should resolve with ReleaseTest when request succeeds" , async ( ) => {
339
- nock ( appDistributionOrigin ) . post ( `/v1alpha/${ releaseName } ` ) . reply ( 200 , mockReleaseTest ) ;
339
+ nock ( appDistributionOrigin ) . post ( `/v1alpha/${ releaseName } /tests ` ) . reply ( 200 , mockReleaseTest ) ;
340
340
await expect (
341
341
appDistributionClient . createReleaseTest ( releaseName , mockDevices ) ,
342
342
) . to . be . eventually . deep . eq ( mockReleaseTest ) ;
You can’t perform that action at this time.
0 commit comments