@@ -228,11 +228,11 @@ describe('Action Integration Tests', function() {
228228 btcdProcess = await startBtcdProcess ( btcdArgs ) ;
229229 await nap ( NAP_TIME ) ;
230230 await retry ( ( ) => isPortOpen ( BTCD_PORT ) ) ;
231- await mineAndSync ( { blocks : 400 } ) ;
231+ mineAndSync ( { blocks : 400 } ) ;
232232 } ) ;
233233
234234 it ( 'should get public key node1' , async ( ) => {
235- await info1 . pollInfo ( ) ;
235+ await info1 . getInfo ( ) ;
236236 expect ( store1 . pubKey , 'to be ok' ) ;
237237 } ) ;
238238
@@ -259,14 +259,14 @@ describe('Action Integration Tests', function() {
259259 } ) ;
260260
261261 it ( 'should list transaction as confirmed after mining 6 blocks' , async ( ) => {
262- await mineAndSync ( { blocks : 6 } ) ;
262+ mineAndSync ( { blocks : 6 } ) ;
263263 while ( ! store2 . transactions . length ) await nap ( 100 ) ;
264264 const tx = store2 . computedTransactions . find ( t => t . type === 'bitcoin' ) ;
265265 expect ( tx . confirmations , 'to be positive' ) ;
266266 } ) ;
267267
268268 it ( 'should get public key node2' , async ( ) => {
269- await info2 . pollInfo ( ) ;
269+ await info2 . getInfo ( ) ;
270270 expect ( store2 . pubKey , 'to be ok' ) ;
271271 } ) ;
272272
@@ -324,7 +324,7 @@ describe('Action Integration Tests', function() {
324324 } ) ;
325325
326326 it ( 'should list open channel after mining 6 blocks' , async ( ) => {
327- await mineAndSync ( { blocks : 6 } ) ;
327+ mineAndSync ( { blocks : 6 } ) ;
328328 while ( store1 . pendingChannels . length ) await nap ( 100 ) ;
329329 while ( ! store1 . channels . length ) await nap ( 100 ) ;
330330 expect ( store1 . computedChannels . length , 'to be' , 1 ) ;
@@ -402,7 +402,7 @@ describe('Action Integration Tests', function() {
402402 } ) ;
403403
404404 it ( 'should list no channels after mining 6 blocks' , async ( ) => {
405- await mineAndSync ( { blocks : 6 } ) ;
405+ mineAndSync ( { blocks : 6 } ) ;
406406 while ( store1 . pendingChannels . length ) await nap ( 100 ) ;
407407 expect ( store1 . computedChannels . length , 'to be' , 0 ) ;
408408 } ) ;
@@ -415,7 +415,7 @@ describe('Action Integration Tests', function() {
415415 } ) ;
416416
417417 it ( 'should list open channel after mining 6 blocks' , async ( ) => {
418- await mineAndSync ( { blocks : 6 } ) ;
418+ mineAndSync ( { blocks : 6 } ) ;
419419 while ( store1 . pendingChannels . length ) await nap ( 100 ) ;
420420 while ( ! store1 . channels . length ) await nap ( 100 ) ;
421421 expect ( store1 . computedChannels . length , 'to be' , 1 ) ;
@@ -435,7 +435,7 @@ describe('Action Integration Tests', function() {
435435 } ) ;
436436
437437 it ( 'should list no channels after mining 6 blocks' , async ( ) => {
438- await mineAndSync ( { blocks : 6 } ) ;
438+ mineAndSync ( { blocks : 6 } ) ;
439439 while ( store1 . pendingChannels . length ) await nap ( 100 ) ;
440440 expect ( store1 . computedChannels . length , 'to be' , 0 ) ;
441441 } ) ;
0 commit comments