File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -1237,29 +1237,6 @@ describe.runIf(isLocalnet)('session', () => {
12371237 const ch = await store . getChannel ( channelId )
12381238 expect ( ch ! . finalized ) . toBe ( true )
12391239 } )
1240-
1241- test ( 'close throws when client has no account' , async ( ) => {
1242- const { channelId, serializedTransaction } = await createSignedOpenTransaction ( 10000000n )
1243- const server = createServer ( {
1244- getClient : ( ) => createClient ( { chain, transport : http ( ) } ) ,
1245- } )
1246- await openServerChannel ( server , channelId , serializedTransaction )
1247-
1248- await expect (
1249- server . verify ( {
1250- credential : {
1251- challenge : makeChallenge ( { id : 'challenge-2' , channelId } ) ,
1252- payload : {
1253- action : 'close' as const ,
1254- channelId,
1255- cumulativeAmount : '1000000' ,
1256- signature : await signTestVoucher ( channelId , 1000000n ) ,
1257- } ,
1258- } ,
1259- request : makeRequest ( ) ,
1260- } ) ,
1261- ) . rejects . toThrow ( 'Cannot close channel: no account available' )
1262- } )
12631240 } )
12641241
12651242 describe ( 'full lifecycle' , ( ) => {
You can’t perform that action at this time.
0 commit comments